rewrite and rename issue-33329 to ui test
This commit is contained in:
parent
e870ab86dc
commit
613a7a79e7
@ -29,7 +29,6 @@ run-make/incr-foreign-head-span/Makefile
|
||||
run-make/interdependent-c-libraries/Makefile
|
||||
run-make/issue-107094/Makefile
|
||||
run-make/issue-15460/Makefile
|
||||
run-make/issue-33329/Makefile
|
||||
run-make/issue-35164/Makefile
|
||||
run-make/issue-36710/Makefile
|
||||
run-make/issue-47551/Makefile
|
||||
|
@ -1,5 +0,0 @@
|
||||
include ../tools.mk
|
||||
|
||||
all:
|
||||
$(RUSTC) --target x86_64_unknown-linux-musl main.rs 2>&1 | $(CGREP) \
|
||||
"error: Error loading target specification: Could not find specification for target"
|
@ -1 +0,0 @@
|
||||
fn main() {}
|
3
tests/ui/errors/wrong-target-spec.rs
Normal file
3
tests/ui/errors/wrong-target-spec.rs
Normal file
@ -0,0 +1,3 @@
|
||||
//@ compile-flags: --target x86_64_unknown-linux-musl
|
||||
|
||||
fn main() {}
|
2
tests/ui/errors/wrong-target-spec.stderr
Normal file
2
tests/ui/errors/wrong-target-spec.stderr
Normal file
@ -0,0 +1,2 @@
|
||||
error: Error loading target specification: Could not find specification for target "x86_64_unknown-linux-musl". Run `rustc --print target-list` for a list of built-in targets
|
||||
|
Loading…
Reference in New Issue
Block a user