Skip to content

Commit 5b5ebf2

Browse files
committed
auto merge of #12177 : alexcrichton/rust/fix-snapshot, r=kballard
This is blocking a snapshot because the stage0 target compiler comes from a stage1 host compiler. This means that the stage0 compiler doesn't actually understand the -Z prefer-dynamic flag and is dying as a result. This will get added back to stage0 after a snapshot.
2 parents 9e133d1 + 47ece1f commit 5b5ebf2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.in

+2-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ endif
140140
# snapshot will be generated with a statically linked rustc so we only have to
141141
# worry about the distribution of one file (with its native dynamic
142142
# dependencies)
143-
RUSTFLAGS_STAGE0 += -Z prefer-dynamic
143+
#
144+
# NOTE: after a snapshot (stage0), put this on stage0 as well
144145
RUSTFLAGS_STAGE1 += -C prefer-dynamic
145146

146147
# platform-specific auto-configuration

0 commit comments

Comments
 (0)