Skip to content

Commit bd83031

Browse files
authored
chore: update rust toolchain to 2024/08/05 (#548)
Signed-off-by: usamoi <usamoi@outlook.com>
1 parent 49373c3 commit bd83031

39 files changed

+378
-259
lines changed

.github/workflows/psql.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ jobs:
9696
echo PGRX_TARGET_INFO_PATH_PG$VERSION=$HOME/.pgrx_binding >> "$GITHUB_ENV"
9797
- name: Build Release
9898
run: |
99-
cargo build --lib --features "pg$VERSION" --release
100-
./tools/schema.sh --features "pg$VERSION" --release | expand -t 4 > ./target/vectors--$SEMVER.sql
99+
cargo build --lib --features "pg$VERSION" --profile opt
100+
./tools/schema.sh --features "pg$VERSION" --profile opt | expand -t 4 > ./target/vectors--$SEMVER.sql
101101
- name: Set up PostgreSQL
102102
run: |
103103
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
@@ -115,7 +115,7 @@ jobs:
115115
- name: Install Release
116116
run: |
117117
sudo cp ./target/vectors--$SEMVER.sql /usr/share/postgresql/$VERSION/extension/vectors--$SEMVER.sql
118-
sudo cp ./target/release/libvectors.so "/usr/lib/postgresql/$VERSION/lib/vectors.so"
118+
sudo cp ./target/opt/libvectors.so "/usr/lib/postgresql/$VERSION/lib/vectors.so"
119119
sed -e "s/@CARGO_VERSION@/$SEMVER/g" < ./vectors.control | sudo tee "/usr/share/postgresql/$VERSION/extension/vectors.control"
120120
121121
psql -c 'ALTER SYSTEM SET shared_preload_libraries = "vectors.so"'

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ __pycache__
99
.pytest_cache
1010
rustc-ice-*.txt
1111
build
12+
.intentionally-empty-file.o

0 commit comments

Comments
 (0)