We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15b3098 commit 2203df0Copy full SHA for 2203df0
compiler/rustc_session/src/config.rs
@@ -786,7 +786,7 @@ pub fn host_triple() -> &'static str {
786
// Instead of grabbing the host triple (for the current host), we grab (at
787
// compile time) the target triple that this rustc is built with and
788
// calling that (at runtime) the host triple.
789
- (option_env!("CFG_COMPILER_HOST_TRIPLE")).expect("CFG_COMPILER_HOST_TRIPLE")
+ env!("CFG_COMPILER_HOST_TRIPLE")
790
}
791
792
impl Default for Options {
0 commit comments