diff --git a/.cargo/config b/.cargo/config index 73f7b9a505b09..aa14df53c72b2 100644 --- a/.cargo/config +++ b/.cargo/config @@ -5,11 +5,6 @@ rustflags = ["-C", "link-args=-rdynamic"] rustflags = ["-C", "link-args=-rdynamic"] -[target.'cfg(target_env = "musl")'] -# Turn off self-contained linking mode. This makes rustc rely on the installed musl toolchain to -# find and link against C and C++ runtime objects, instead of linking against the bundled C ones. -rustflags = "-Clink-self-contained=no" - # for these musl targets libstdc++ will be linked statically (that's configured in e.g. leveldb-sys) # we provide the location of that library here [target.x86_64-unknown-linux-musl] diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 243e280cab160..97d2b62bb29e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -65,6 +65,7 @@ jobs: deny: - 'deny.toml' dependencies: + - ".cargo/**" - 'Cargo.toml' - 'Cargo.lock' - 'rust-toolchain'