Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Commit 401a99d

Browse files
koki-developclaude
andcommitted
Fix Rust 1.93.1 compile script to suppress chmod error on build failure
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 09fab5c commit 401a99d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/rust/1.93.1/compile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
# https://stackoverflow.com/questions/38041331/rust-compiler-cant-find-crate-for-std
44
# Rust compiler needs to find the stdlib to link against
5-
rustc -o binary -L ${RUST_INSTALL_LOC}/rustc/lib -L ${RUST_INSTALL_LOC}/rust-std-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib "$@"
5+
rustc -o binary -L ${RUST_INSTALL_LOC}/rustc/lib -L ${RUST_INSTALL_LOC}/rust-std-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib "$@" && \
66
chmod +x binary

0 commit comments

Comments
 (0)