Skip to content

Commit a2ddd7f

Browse files
committed
tests: adjust amdgpu-require-explicit-cpu.rs
- Document test intention. - Move `amdgpu-require-explicit-cpu.rs` under new dir `tests/ui/amdgpu/` - No other ui subdir really fits this "requires `-Ctarget-cpu`" check. - I don't think any other targets require explicitly specifying a `-Ctarget-cpu` in addition to `--target` itself.
1 parent 191df20 commit a2ddd7f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: tests/ui/amdgpu-require-explicit-cpu.rs renamed to tests/ui/amdgcn/amdgpu-require-explicit-cpu.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//! Check that compiling against the `amdgcn-amd-amdhsa` target *requires* the user to specify a
2+
//! target CPU via `-C target-cpu`.
3+
14
//@ revisions: nocpu cpu
25
//@ no-prefer-dynamic
36
//@ compile-flags: --crate-type=cdylib --target=amdgcn-amd-amdhsa

0 commit comments

Comments
 (0)