Created
August 11, 2025 20:55
-
-
Save thejpster/026e84c668e94d2ea7c9d89168d83d03 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/rusttest $ cat .cargo/config.toml | |
[target.x86_64-unknown-linux-gnu] | |
linker = "gccfoo" | |
~/rusttest $ cat testbin/.cargo/config.toml | |
[target.x86_64-unknown-linux-gnu] | |
linker = "gccbar" | |
~/rusttest $ cd testbin | |
~/rusttest/testbin $ cargo run | |
Compiling testbin v0.1.0 (/home/jonathan/rusttest/testbin) | |
error: linker `gccbar` not found | |
| | |
= note: No such file or directory (os error 2) | |
error: could not compile `testbin` (bin "testbin") due to 1 previous error | |
~/rusttest/testbin $ cd .. | |
~/rusttest $ cargo run --manifest-path testbin/Cargo.toml | |
Compiling testbin v0.1.0 (/home/jonathan/rusttest/testbin) | |
error: linker `gccfoo` not found | |
| | |
= note: No such file or directory (os error 2) | |
error: could not compile `testbin` (bin "testbin") due to 1 previous error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment