Skip to content

Commit e13d480

Browse files
committed
Rename target triple to target tuple in many places in the compiler
This changes the naming to the new naming, used by `--print target-tuple`. It does not change all locations, but many.
1 parent 2517868 commit e13d480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/machine.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ impl<'tcx> MiriMachine<'tcx> {
692692
clock: Clock::new(config.isolated_op == IsolatedOp::Allow),
693693
#[cfg(unix)]
694694
native_lib: config.native_lib.as_ref().map(|lib_file_path| {
695-
let target_triple = tcx.sess.opts.target_triple.triple();
695+
let target_triple = tcx.sess.opts.target_triple.tuple();
696696
// Check if host target == the session target.
697697
if env!("TARGET") != target_triple {
698698
panic!(

0 commit comments

Comments
 (0)