Lock Linux CI cbindgen version and dependencies

This allows us to keep testing building with the minimal supported
Rust version.
This commit is contained in:
Itms 2025-10-21 21:12:12 +02:00
parent 95467c2327
commit 59d28fed9b
No known key found for this signature in database
GPG key ID: C7E52BD14CE14E09

View file

@ -56,7 +56,7 @@ ENV RUSTUP_HOME=/usr/local/rust
ENV CARGO_HOME=/usr/local/rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.76.0 -y
# Install cbindgen for building SpiderMonkey
RUN /usr/local/rust/bin/cargo install cbindgen
RUN /usr/local/rust/bin/cargo install --locked cbindgen@0.29.0
ENV PATH="${RUSTUP_HOME}/bin:${PATH}"
ENV SHELL=/bin/bash