Skip to content

Commit c2c096b

Browse files
committed
Rebuild backend if it has changed between compiletest runs.
This matches what rust-gpu does: https://github.com/Rust-GPU/rust-gpu/blob/b3eda4df9814b6176d3c0844eb67f70a22ebb378/tests/compiletests/Cargo.toml#L18
1 parent 1eca961 commit c2c096b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ opt-level = 3
3535
[workspace.dependencies]
3636
cuda_std = { path = "crates/cuda_std" }
3737
cuda_builder = { path = "crates/cuda_builder", version = "=0.3.0", default-features = false }
38+
rustc_codegen_nvvm = { path = "crates/rustc_codegen_nvvm", version = "=0.3.0" }

tests/compiletests/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ clap = { version = "4.5", features = ["derive"] }
1313
tracing = "0.1"
1414
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
1515
cuda_builder = { workspace = true }
16+
rustc_codegen_nvvm = { workspace = true }

0 commit comments

Comments
 (0)