Don't use -Z prefer-dynamic at stage0
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.
This commit is contained in:
parent
19f64b38f7
commit
47ece1fa2c
1 changed files with 2 additions and 1 deletions
|
@ -140,7 +140,8 @@ endif
|
||||||
# snapshot will be generated with a statically linked rustc so we only have to
|
# snapshot will be generated with a statically linked rustc so we only have to
|
||||||
# worry about the distribution of one file (with its native dynamic
|
# worry about the distribution of one file (with its native dynamic
|
||||||
# dependencies)
|
# dependencies)
|
||||||
RUSTFLAGS_STAGE0 += -Z prefer-dynamic
|
#
|
||||||
|
# NOTE: after a snapshot (stage0), put this on stage0 as well
|
||||||
RUSTFLAGS_STAGE1 += -C prefer-dynamic
|
RUSTFLAGS_STAGE1 += -C prefer-dynamic
|
||||||
|
|
||||||
# platform-specific auto-configuration
|
# platform-specific auto-configuration
|
||||||
|
|
Loading…
Add table
Reference in a new issue