File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,22 @@ all: default output_to_file
12
12
$(RUSTC ) --target arm-unknown-linux-gnueabihf --print cfg | $(CGREP ) eabihf
13
13
14
14
output_to_file :
15
+ # Backend-independent, printed by rustc_driver_impl/src/lib.rs
15
16
-rm $(TMPDIR ) /cfg.txt
16
17
$(RUSTC ) --target x86_64-pc-windows-gnu --print=cfg -o $(TMPDIR ) /cfg.txt
17
18
$(CGREP ) windows < $(TMPDIR ) /cfg.txt
19
+
20
+ # Printed from CodegenBackend trait impl in rustc_codegen_llvm/src/lib.rs
21
+ -rm $(TMPDIR)/cfg.txt
22
+ $(RUSTC) --print=relocation-models -o $(TMPDIR)/cfg.txt
23
+ $(CGREP) dynamic-no-pic < $(TMPDIR)/cfg.txt
24
+
25
+ # Printed by compiler/rustc_codegen_llvm/src/llvm_util.rs
26
+ -rm $(TMPDIR)/cfg.txt
27
+ $(RUSTC) --target wasm32-unknown-unknown --print=target-features -o $(TMPDIR)/cfg.txt
28
+ $(CGREP) reference-types < $(TMPDIR)/cfg.txt
29
+
30
+ # Printed by C++ code in rustc_llvm/llvm-wrapper/PassWrapper.cpp
18
31
-rm $(TMPDIR)/cfg.txt
19
32
$(RUSTC) --target x86_64-pc-windows-gnu --print=target-cpus -o $(TMPDIR)/cfg.txt
20
33
$(CGREP) native < $(TMPDIR)/cfg.txt
You can’t perform that action at this time.
0 commit comments