We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e98621 commit f00a952Copy full SHA for f00a952
src/librustc_target/spec/riscv32imac_unknown_none_elf.rs
@@ -8,7 +8,8 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
10
11
-use spec::{LinkerFlavor, PanicStrategy, Target, TargetOptions, TargetResult};
+use spec::{LinkerFlavor, LldFlavor, PanicStrategy,
12
+ Target, TargetOptions, TargetResult};
13
use spec::abi::{Abi};
14
15
pub fn target() -> TargetResult {
@@ -22,10 +23,10 @@ pub fn target() -> TargetResult {
22
23
target_env: String::new(),
24
target_vendor: "unknown".to_string(),
25
arch: "riscv32".to_string(),
- linker_flavor: LinkerFlavor::Ld,
26
+ linker_flavor: LinkerFlavor::Lld(LldFlavor::Ld),
27
28
options: TargetOptions {
- linker: Some("riscv32-unknown-elf-ld".to_string()),
29
+ linker: Some("rust-lld".to_string()),
30
cpu: "generic-rv32".to_string(),
31
max_atomic_width: Some(32),
32
atomic_cas: false, // incomplete +a extension
0 commit comments