Skip to content

Commit f38390b

Browse files
committed
no default cpu
1 parent ad4181e commit f38390b

File tree

1 file changed

+1
-1
lines changed
  • crates/rustc_codegen_nvvm_v19/src

1 file changed

+1
-1
lines changed

crates/rustc_codegen_nvvm_v19/src/back.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub fn target_machine_factory(
101101
let triple = sess.target.llvm_target.clone().to_string();
102102
let cpu_string = sess.opts.cg.target_cpu
103103
.as_deref()
104-
.unwrap_or("sm_120")
104+
.unwrap_or("") // TODO: sm_120?
105105
.to_string();
106106
let features_string = "".to_string();
107107
let trap_unreachable = sess

0 commit comments

Comments
 (0)