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 ea44eb9 commit 2a69d1bCopy full SHA for 2a69d1b
oryx-tui/build.rs
@@ -0,0 +1,11 @@
1
+use std::env;
2
+
3
+fn main() {
4
+ let path = match env::var("PROFILE").unwrap().as_str() {
5
+ "release" => "../../../target/bpfel-unknown-none/release/oryx",
6
+ "debug" => "../../../target/bpfel-unknown-none/debug/oryx",
7
+ _ => panic!("unknown release mode"),
8
+ };
9
10
+ println!("cargo::rustc-env=ORYX_BIN_PATH={path}");
11
+}
0 commit comments