Skip to content

Commit

Permalink
Revert "Update Rust to 1.73.0 (#388)"
Browse files Browse the repository at this point in the history
This reverts commit 4d21a39.
  • Loading branch information
eeeebbbbrrrr committed Nov 18, 2023
1 parent 89df8aa commit a314012
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion doc/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ src = "src"
title = "PL/Rust Guide"

[preprocessor.variables.variables]
toolchain_ver = "1.73.0"
toolchain_ver = "1.72.0"
2 changes: 1 addition & 1 deletion doc/src/install-plrust-on-debian-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Where:
Example:

```
plrust-trusted-1.2.3_1.73.0-debian-pg15-amd64.deb
plrust-trusted-1.2.3_1.72.0-debian-pg15-amd64.deb
```

## Preparing the environment
Expand Down
2 changes: 1 addition & 1 deletion plrust/build
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fi
git pull
git submodule update --init --recursive
else
git clone https://github.com/tcdi/postgrestd.git --branch "rust-1.73.0" --recurse-submodules
git clone https://github.com/tcdi/postgrestd.git --branch "rust-1.72.0" --recurse-submodules
cd ./postgrestd
fi
rm -f rust-toolchain.toml
Expand Down
4 changes: 2 additions & 2 deletions plrustc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ fi
export RUSTC_BOOTSTRAP=1

version=$($RUSTC --version | cut -d ' ' -f 2)
if [ "$version" != "1.73.0" ]; then
echo "rustc ('$RUSTC') is not version 1.73.0" >&2
if [ "$version" != "1.72.0" ]; then
echo "rustc ('$RUSTC') is not version 1.72.0" >&2
exit 1
fi

Expand Down
3 changes: 1 addition & 2 deletions plrustc/plrustc/uitests/ice_hook.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
thread 'rustc' panicked at plrustc/src/lints/force_ice.rs:
Here is your ICE
thread 'rustc' panicked at 'Here is your ICE', plrustc/src/lints/force_ice.rs
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: the compiler unexpectedly panicked. this is a bug.
Expand Down
2 changes: 1 addition & 1 deletion plrustc/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.73.0"
channel = "1.72.0"
components = [ "rustfmt", "rust-src", "rustc-dev", "cargo", "llvm-tools" ]
targets = [ ]
profile = "minimal"
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.73.0"
channel = "1.72.0"
components = [ "rustfmt", "rust-src", "rustc-dev", "llvm-tools" ]
targets = [ ]
profile = "minimal"

0 comments on commit a314012

Please sign in to comment.