about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2022-06-28 16:34:07 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2022-07-11 23:23:51 +0300
commit8d9fdb778e9e729216a360c09312d86c28db3c8b (patch)
tree09b2d8aebe5228803ac8d09167d701d8a753298d /src/test
parent9fb32dc924653e35950f17c8d91793c9ca983d03 (diff)
downloadrust-8d9fdb778e9e729216a360c09312d86c28db3c8b.tar.gz
rust-8d9fdb778e9e729216a360c09312d86c28db3c8b.zip
rustc_target: Flip the default for `TargetOptions::executables` to true
Also change `executables` to true for linux-kernel and windows-uwp-gnu targets
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-make-fulldeps/target-specs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make-fulldeps/target-specs/Makefile b/src/test/run-make-fulldeps/target-specs/Makefile
index dff7a966c96..fb95ee5539a 100644
--- a/src/test/run-make-fulldeps/target-specs/Makefile
+++ b/src/test/run-make-fulldeps/target-specs/Makefile
@@ -8,4 +8,4 @@ all:
 	RUST_TARGET_PATH=. $(RUSTC) foo.rs --target=my-x86_64-unknown-linux-gnu-platform --crate-type=lib --emit=asm
 	$(RUSTC) -Z unstable-options --target=my-awesome-platform.json --print target-spec-json > $(TMPDIR)/test-platform.json && $(RUSTC) -Z unstable-options --target=$(TMPDIR)/test-platform.json --print target-spec-json | diff -q $(TMPDIR)/test-platform.json -
 	$(RUSTC) foo.rs --target=definitely-not-builtin-target 2>&1 | $(CGREP) 'may not set is_builtin'
-	$(RUSTC) foo.rs --target=mismatching-data-layout
+	$(RUSTC) foo.rs --target=mismatching-data-layout --crate-type=lib