Skip to content

Commit

Permalink
Only generate TLS shim on x64
Browse files Browse the repository at this point in the history
  • Loading branch information
garyttierney committed Mar 9, 2025
1 parent 32f025b commit b8c8386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
if-no-files-found: error
retention-days: 1

merge:
push:
runs-on: ubuntu-latest
needs:
- build
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use std::{ffi::CStr, process::Stdio};
use clap::Parser;
use regex::Regex;

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

Expand Down

0 comments on commit b8c8386

Please sign in to comment.