Date: 2025-03-09 00:16:43
Score: 2
Natty:
Because rustc can't find the linker, you can either:
install a linker that can be found by rustc (On debian `apt install build-essential` installs the linker)
Point to an existing linker e.g.,:
rustc -C linker=target_toolchain_linker my_rustfile.rs
References:
- https://github.com/rust-lang/cargo/issues/1109
- How do I fix the Rust error "linker 'cc' not found" for Debian on Windows 10?
Reasons:
- Blacklisted phrase (1): How do I
- Probably link only (1):
- Low length (0.5):
- Has code block (-0.5):
- Ends in question mark (2):
- High reputation (-2):
Posted by: A. K.