File tree 1 file changed +2
-2
lines changed
tests/run-make/pdb-alt-path
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ include ../tools.mk
4
4
5
5
all :
6
6
# Test that we don't have the full path to the PDB file in the binary
7
- $(RUSTC ) main.rs -g --crate-name my_crate_name --crate-type bin
7
+ $(RUSTC ) main.rs -g --crate-name my_crate_name --crate-type bin -Cforce-frame-pointers
8
8
$(CGREP ) " my_crate_name.pdb" < $(TMPDIR ) /my_crate_name.exe
9
9
$(CGREP ) -v " \\ my_crate_name.pdb" < $(TMPDIR ) /my_crate_name.exe
10
10
15
15
$(CGREP) "pdb-alt-path\\main.rs:2" < $(TMPDIR)/backtrace.txt
16
16
17
17
# Test that explicitly passed `-Clink-arg=/PDBALTPATH:...` is respected
18
- $(RUSTC) main.rs -g --crate-name my_crate_name --crate-type bin -Clink-arg=/PDBALTPATH:abcdefg.pdb
18
+ $(RUSTC) main.rs -g --crate-name my_crate_name --crate-type bin -Clink-arg=/PDBALTPATH:abcdefg.pdb -Cforce-frame-pointers
19
19
$(CGREP) "abcdefg.pdb" < $(TMPDIR)/my_crate_name.exe
20
20
$(CGREP) -v "my_crate_name.pdb" < $(TMPDIR)/my_crate_name.exe
You can’t perform that action at this time.
0 commit comments