Skip to content

Commit 8cdde02

Browse files
author
Kjetil Kjeka
committed
NVPTX: Use the embedded linker as default linker
1 parent 12608a5 commit 8cdde02

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: compiler/rustc_target/src/spec/nvptx64_nvidia_cuda.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ pub fn target() -> Target {
1010
options: TargetOptions {
1111
os: "cuda".into(),
1212
vendor: "nvidia".into(),
13-
linker_flavor: LinkerFlavor::Ptx,
14-
// The linker can be installed from `crates.io`.
15-
linker: Some("rust-ptx-linker".into()),
13+
linker_flavor: LinkerFlavor::Embedded,
14+
linker: Some("rust-embedded-linker".into()),
1615

1716
// With `ptx-linker` approach, it can be later overridden via link flags.
1817
cpu: "sm_30".into(),

0 commit comments

Comments
 (0)