diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2018-07-21 16:12:16 -0600 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2018-07-31 11:37:21 -0600 |
| commit | 0af5a6be0531a1ad038bd150239847cb4acc5026 (patch) | |
| tree | 9333a37b41c4b4b2d308f522b7c5fed127f0f78f /src/rustllvm/RustWrapper.cpp | |
| parent | f89817997ac0aa100bf91997194ad85a7e59f743 (diff) | |
| download | rust-0af5a6be0531a1ad038bd150239847cb4acc5026.tar.gz rust-0af5a6be0531a1ad038bd150239847cb4acc5026.zip | |
Pull out nightly checking to edges
Parsing the code block's LangString (```foo) previously checked itself to see if we were on nightly; that isn't the right place to do so. Move that check slightly outwards to better abstract LangString. (This is also an optimization as we avoid the costly environment variable load of RUSTC_BOOTSTRAP).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
