We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a10478 commit 24aeb95Copy full SHA for 24aeb95
2 files changed
.github/workflows/arm-benchmark.yml
@@ -20,7 +20,7 @@ jobs:
20
- name: Install dependencies
21
run: |
22
sudo apt-get update
23
- sudo apt-get install -y qemu-system-arm binutils-aarch64-linux-gnu
+ sudo apt-get install -y qemu-system-arm binutils-aarch64-linux-gnu nasm
24
25
- name: Clone standalone benchmark
26
build.rs
@@ -2,11 +2,9 @@ use std::env;
2
use std::path::PathBuf;
3
4
fn main() {
5
- let target = env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default();
6
- let target_triple = env::var("TARGET").unwrap_or_default();
+ let target = env::var("TARGET").unwrap_or_default();
7
8
- // Only assemble switch.s when building for x86_64 bare metal
9
- if target != "x86_64" || !target_triple.contains("x86_64") {
+ if !target.starts_with("x86_64") {
10
return;
11
}
12
0 commit comments