Skip to content

Commit 7b43145

Browse files
committed
Brain fart
1 parent 74d3c58 commit 7b43145

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/compiletests/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ fn rust_flags(codegen_backend_path: &Path) -> String {
355355
// NOTE(LegNeato) flags copied from `cuda-builder` are all above this line.
356356
"-Zcrate-attr=no_std".into(),
357357
"-Zsaturating_float_casts=false".into(),
358-
// NOTE(LegNeato) flags copied from `rust-gpu`'s compiletests are all below this
358+
// NOTE(LegNeato) flags copied from `rust-gpu`'s compiletests are all below this
359359
// line.
360360
// Ensure the codegen backend is emitted in `.d` files to force Cargo
361361
// to rebuild crates compiled with it when it changes (this used to be
@@ -413,9 +413,9 @@ fn dylib_path() -> Vec<PathBuf> {
413413
}
414414
}
415415

416-
fn find_rustc_codegen_cuda() -> PathBuf {
416+
fn find_rustc_codegen_nvvm() -> PathBuf {
417417
let filename = format!(
418-
"{}rustc_codegen_cuda{}",
418+
"{}rustc_codegen_nvvm{}",
419419
env::consts::DLL_PREFIX,
420420
env::consts::DLL_SUFFIX
421421
);

0 commit comments

Comments
 (0)