Skip to content

Commit b8c8386

Browse files
committed
Only generate TLS shim on x64
1 parent 32f025b commit b8c8386

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
if-no-files-found: error
8282
retention-days: 1
8383

84-
merge:
84+
push:
8585
runs-on: ubuntu-latest
8686
needs:
8787
- build

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use std::{ffi::CStr, process::Stdio};
88
use clap::Parser;
99
use regex::Regex;
1010

11+
#[cfg(target_arch = "x86_64")]
1112
#[unsafe(export_name = "__tls_get_addr@@GLIBC_2.3")]
1213
pub fn glibc_tls_stub() { }
1314

0 commit comments

Comments
 (0)