File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/test/run-make/symbols-are-reasonable Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
-include ../tools.mk
2
2
3
3
# check that the compile generated symbols for strings, binaries,
4
- # vtables, etc. have semisane names (e.g. `str1234 `); it's relatively
4
+ # vtables, etc. have semisane names (e.g. `str.1234 `); it's relatively
5
5
# easy to accidentally modify the compiler internals to make them
6
6
# become things like `str"str"(1234)`.
7
7
@@ -10,6 +10,6 @@ OUT=$(TMPDIR)/lib.s
10
10
all :
11
11
$(RUSTC ) lib.rs --emit=asm --crate-type=staticlib
12
12
# just check for symbol declarations with the names we're expecting.
13
- grep ' str[0-9][0-9]*:' $(OUT )
14
- grep ' byte_str[0-9][0-9]*:' $(OUT )
15
- grep ' vtable[0-9][0-9]*' $(OUT )
13
+ grep ' str. [0-9][0-9]*:' $(OUT )
14
+ grep ' byte_str. [0-9][0-9]*:' $(OUT )
15
+ grep ' vtable. [0-9][0-9]*' $(OUT )
You can’t perform that action at this time.
0 commit comments