Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions collector/src/bin/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -794,9 +794,10 @@ fn main_result() -> anyhow::Result<i32> {
runtime: &runtime_benchmark_dir,
};

// This clearly won't work for all architectures, but should be good enough for x64 Linux
// and ARM 64-bit Linux.
let host_target_tuple = format!("{}-unknown-linux-gnu", std::env::consts::ARCH);
let host_target_tuple =
String::from_utf8(command_output(Command::new("rustc").arg("--print=host-tuple"))?.stdout)?
.trim()
.to_string();

match args.command {
Commands::BinaryStats { mode, symbols } => {
Expand Down
Loading