diff options
author | Devan Carpenter <git@dvn.me> | 2023-11-22 12:35:46 -0500 |
---|---|---|
committer | Devan Carpenter <git@dvn.me> | 2023-11-22 13:06:38 -0500 |
commit | 16d5bdd39f6a9d6cc795f651b9b219642ed39348 (patch) | |
tree | 1b03dee7553531505f2e5a78f29def978e120aca | |
parent | 6a2a282f9adb9af735352fee517a6dfd6de3d667 (diff) |
Revert "don't set clang for mold"
This reverts commit d87c4b60c4946fbc7ccb8c0faa4609fffbb05a23.
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 79847e8c..2b43e2a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,6 +68,7 @@ trixie: - $(echo "$CARGO/config.toml" ; cat $CARGO/config.toml ; echo "$CARGO_HOME/config.toml" ; cat $CARGO_HOME/config.toml ; echo "$HOME/.cargo/config.toml" ; cat $HOME/.cargo/config.toml) || true - | echo '[target.x86_64-unknown-linux-gnu] + linker = "/usr/bin/clang" rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]' >> $CARGO_HOME/config.toml - cat $CARGO_HOME/config.toml - cargo run --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-nettle,compression --example supported-algorithms @@ -94,6 +95,7 @@ trixie-crypto-rust: - $(echo "$CARGO/config.toml" ; cat $CARGO/config.toml ; echo "$CARGO_HOME/config.toml" ; cat $CARGO_HOME/config.toml ; echo "$HOME/.cargo/config.toml" ; cat $HOME/.cargo/config.toml) || true - | echo '[target.x86_64-unknown-linux-gnu] + linker = "/usr/bin/clang" rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]' >> $CARGO_HOME/config.toml - cat $CARGO_HOME/config.toml - cargo run --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-rust,compression,allow-experimental-crypto,allow-variable-time-crypto --example supported-algorithms @@ -117,6 +119,7 @@ trixie-crypto-openssl: - $(echo "$CARGO/config.toml" ; cat $CARGO/config.toml ; echo "$CARGO_HOME/config.toml" ; cat $CARGO_HOME/config.toml ; echo "$HOME/.cargo/config.toml" ; cat $HOME/.cargo/config.toml) || true - | echo '[target.x86_64-unknown-linux-gnu] + linker = "/usr/bin/clang" rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]' >> $CARGO_HOME/config.toml - cat $CARGO_HOME/config.toml - cargo run --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-openssl,compression --example supported-algorithms @@ -138,6 +141,7 @@ trixie-crypto-botan: - $(echo "$CARGO/config.toml" ; cat $CARGO/config.toml ; echo "$CARGO_HOME/config.toml" ; cat $CARGO_HOME/config.toml ; echo "$HOME/.cargo/config.toml" ; cat $HOME/.cargo/config.toml) || true - | echo '[target.x86_64-unknown-linux-gnu] + linker = "/usr/bin/clang" rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]' >> $CARGO_HOME/config.toml - cat $CARGO_HOME/config.toml - cargo run --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-botan2,compression --example supported-algorithms @@ -159,6 +163,7 @@ trixie-crypto-fuzzing: - $(echo "$CARGO/config.toml" ; cat $CARGO/config.toml ; echo "$CARGO_HOME/config.toml" ; cat $CARGO_HOME/config.toml ; echo "$HOME/.cargo/config.toml" ; cat $HOME/.cargo/config.toml) || true - | echo '[target.x86_64-unknown-linux-gnu] + linker = "/usr/bin/clang" rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]' >> $CARGO_HOME/config.toml - cat $CARGO_HOME/config.toml - cargo check --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-fuzzing,compression,allow-experimental-crypto,allow-variable-time-crypto @@ -181,6 +186,7 @@ all_commits: - $(echo "$CARGO/config.toml" ; cat $CARGO/config.toml ; echo "$CARGO_HOME/config.toml" ; cat $CARGO_HOME/config.toml ; echo "$HOME/.cargo/config.toml" ; cat $HOME/.cargo/config.toml) || true - | echo '[target.x86_64-unknown-linux-gnu] + linker = "/usr/bin/clang" rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]' >> $CARGO_HOME/config.toml - cat $CARGO_HOME/config.toml - .ci/all_commits.sh @@ -219,6 +225,7 @@ doc: - $(echo "$CARGO/config.toml" ; cat $CARGO/config.toml ; echo "$CARGO_HOME/config.toml" ; cat $CARGO_HOME/config.toml ; echo "$HOME/.cargo/config.toml" ; cat $HOME/.cargo/config.toml) || true - | echo '[target.x86_64-unknown-linux-gnu] + linker = "/usr/bin/clang" rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]' >> $CARGO_HOME/config.toml - cat $CARGO_HOME/config.toml - cargo doc --document-private-items --no-deps @@ -239,6 +246,7 @@ rust-stable: - $(echo "$CARGO/config.toml" ; cat $CARGO/config.toml ; echo "$CARGO_HOME/config.toml" ; cat $CARGO_HOME/config.toml ; echo "$HOME/.cargo/config.toml" ; cat $HOME/.cargo/config.toml) || true - | echo '[target.x86_64-unknown-linux-gnu] + linker = "/usr/bin/clang" rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]' >> $CARGO_HOME/config.toml - cat $CARGO_HOME/config.toml - CARGO_PACKAGES="-p buffered-reader -p sequoia-openpgp" $MAKE_TOP test @@ -265,6 +273,7 @@ clippy: - $(echo "$CARGO/config.toml" ; cat $CARGO/config.toml ; echo "$CARGO_HOME/config.toml" ; cat $CARGO_HOME/config.toml ; echo "$HOME/.cargo/config.toml" ; cat $HOME/.cargo/config.toml) || true - | echo '[target.x86_64-unknown-linux-gnu] + linker = "/usr/bin/clang" rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]' >> $CARGO_HOME/config.toml - cargo clippy rules: |