Skip to content

Commit a4d3c5d

Browse files
wip
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent 0cd5d13 commit a4d3c5d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/build_gst.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,10 @@ apt-get install --assume-yes --no-install-recommends --mark-auto \
234234
python3 -m pip install --no-cache-dir "${GST_PIP_DEPENDENCIES[@]}"
235235

236236
# Install Rust toolchain (needed for gst-plugins-rs: intersink, intersrc, etc.)
237-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
237+
# Pin to 1.84.0 to match gst-plugins-rs compatibility (rust-version = "1.83" in Cargo.toml).
238+
# Latest Rust versions introduce breaking lints (e.g. implicit autoref on raw pointers)
239+
# that the bundled gst-plugins-rs code does not yet comply with.
240+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.84.0
238241
# shellcheck source=/dev/null
239242
source "$HOME/.cargo/env"
240243
cargo install cargo-c

0 commit comments

Comments
 (0)