Skip to content

Commit

Permalink
misc: update to include direct path
Browse files Browse the repository at this point in the history
  • Loading branch information
nichmor committed Oct 21, 2024
1 parent 7f5e223 commit 0c24641
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion src/global/trampoline.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,36 @@
const TRAMPOLINE_BIN: &[u8] = include_bytes!(env!("TRAMPOLINE_PATH"));
#[cfg(target_arch = "aarch64")]
#[cfg(target_os = "macos")]
const TRAMPOLINE_BIN: &[u8] =
include_bytes!("../../crates/pixi_trampoline/trampolines/pixi-trampoline-aarch64-apple-darwin");

#[cfg(target_arch = "aarch64")]
#[cfg(target_os = "windows")]
const TRAMPOLINE_BIN: &[u8] = include_bytes!(
"../../crates/pixi_trampoline/trampolines/pixi-trampoline-aarch64-pc-windows-msvc.exe"
);

#[cfg(target_arch = "aarch64")]
#[cfg(target_os = "linux")]
const TRAMPOLINE_BIN: &[u8] = include_bytes!(

Check failure on line 14 in src/global/trampoline.rs

View workflow job for this annotation

GitHub Actions / Build Binary | Linux-aarch64

couldn't read `src/global/../../crates/pixi_trampoline/trampolines/pixi-trampoline-aarch64-unknown-linux-musl`: No such file or directory (os error 2)
"../../crates/pixi_trampoline/trampolines/pixi-trampoline-aarch64-unknown-linux-musl"
);

#[cfg(target_arch = "x86_64")]
#[cfg(target_os = "macos")]
const TRAMPOLINE_BIN: &[u8] =
include_bytes!("../../crates/pixi_trampoline/trampolines/pixi-trampoline-x86_64-apple-darwin");

#[cfg(target_arch = "x86_64")]
#[cfg(target_os = "windows")]
const TRAMPOLINE_BIN: &[u8] = include_bytes!(

Check failure on line 25 in src/global/trampoline.rs

View workflow job for this annotation

GitHub Actions / Build Binary | Windows

couldn't read `src\global\../../crates/pixi_trampoline/trampolines/pixi-trampoline-x86_64-pc-windows-msvc.exe`: The system cannot find the path specified. (os error 3)
"../../crates/pixi_trampoline/trampolines/pixi-trampoline-x86_64-pc-windows-msvc.exe"
);

#[cfg(target_arch = "x86_64")]
#[cfg(target_os = "linux")]
const TRAMPOLINE_BIN: &[u8] = include_bytes!(

Check failure on line 31 in src/global/trampoline.rs

View workflow job for this annotation

GitHub Actions / Check intra-doc links

couldn't read `src/global/../../crates/pixi_trampoline/trampolines/pixi-trampoline-x86_64-unknown-linux-musl`: No such file or directory (os error 2)

Check failure on line 31 in src/global/trampoline.rs

View workflow job for this annotation

GitHub Actions / Cargo Lint

couldn't read `src/global/../../crates/pixi_trampoline/trampolines/pixi-trampoline-x86_64-unknown-linux-musl`: No such file or directory (os error 2)

Check failure on line 31 in src/global/trampoline.rs

View workflow job for this annotation

GitHub Actions / Build Binary | Linux-x86_64

couldn't read `src/global/../../crates/pixi_trampoline/trampolines/pixi-trampoline-x86_64-unknown-linux-musl`: No such file or directory (os error 2)
"../../crates/pixi_trampoline/trampolines/pixi-trampoline-x86_64-unknown-linux-musl"
);

#[allow(dead_code)]
pub struct Trampoline {
Expand Down

0 comments on commit 0c24641

Please sign in to comment.