Skip to content

Commit 992203b

Browse files
Adapt rmake-test to new naming scheme for internal symbols.
1 parent e46c1ad commit 992203b

File tree

1 file changed

+4
-4
lines changed
  • src/test/run-make/symbols-are-reasonable

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-include ../tools.mk
22

33
# 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
55
# easy to accidentally modify the compiler internals to make them
66
# become things like `str"str"(1234)`.
77

@@ -10,6 +10,6 @@ OUT=$(TMPDIR)/lib.s
1010
all:
1111
$(RUSTC) lib.rs --emit=asm --crate-type=staticlib
1212
# 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)

0 commit comments

Comments
 (0)