Skip to content

Commit 481d27a

Browse files
committed
Update paths in gen-astencode
1 parent 2d7750b commit 481d27a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/etc/gen-astencode

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ function msg {
1414
echo "****************************************"
1515
}
1616

17-
M=src/comp/metadata
17+
M=src/rustc/metadata
1818
GEN_TYPES="syntax::ast::item syntax::ast::def middle::typeck::method_origin \
1919
middle::freevars::freevar_entry syntax::ast::def_id
2020
syntax::ast::inlined_item"
2121

2222
# Find serializer tool:
23-
for S in build/*/stage1/bin/serializer; do
23+
for S in */stage1/bin/serializer; do
2424

25-
echo "Generating src/comp/metadata/astencode_gen.rs"
25+
echo "Generating src/rustc/metadata/astencode_gen.rs"
2626

2727
# First, generate dummy fns so that the compiler can type
2828
# everything.
@@ -51,7 +51,7 @@ for S in build/*/stage1/bin/serializer; do
5151
fi
5252

5353
# Generate the real code into a temporary file.
54-
if ! "$S" src/comp/rustc.rc $GEN_TYPES > tmp.$$.rs
54+
if ! "$S" src/rustc/rustc.rc $GEN_TYPES > tmp.$$.rs
5555
then
5656
msg
5757
rm tmp.$$.rs

0 commit comments

Comments
 (0)