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 7ec95c0 commit 4402ef5Copy full SHA for 4402ef5
collector/src/bin/collector.rs
@@ -794,9 +794,7 @@ fn main_result() -> anyhow::Result<i32> {
794
runtime: &runtime_benchmark_dir,
795
};
796
797
- // This clearly won't work for all architectures, but should be good enough for x64 Linux
798
- // and ARM 64-bit Linux.
799
- 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();
800
801
match args.command {
802
Commands::BinaryStats { mode, symbols } => {
0 commit comments