Index: head/lang/rust/files/config.toml =================================================================== --- head/lang/rust/files/config.toml (revision 493903) +++ head/lang/rust/files/config.toml (revision 493904) @@ -1,35 +1,42 @@ [build] # Use bundled crates; this should permit offline build. vendor = true # In addition to rustc, rust-std and rust-docs, build Cargo. extended = true # python(1) location. python = "%PYTHON_CMD%" # Do we want to build docs? docs = %DOCS% [install] # Install location. prefix = "%PREFIX%" sysconfdir = "%SYSCONFDIR%" mandir = "%MANDIR%" [rust] # Rust release channel. channel = "%CHANNEL%" +default-linker = "%CC%" + [llvm] ccache = %CCACHE% +#targets = "X86;ARM;AArch64;Mips;PowerPC;SystemZ;JSBackend;MSP430;Sparc;NVPTX;Hexagon" +#experimental-targets = "WebAssembly;RISCV" [target.%TARGET%] +cc = "%CC%" +cxx = "%CXX%" +linker = "%CC%" [dist] # Do not build the source archive. src-tarball = false