Skip to content

Commit

Permalink
More improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
aljen committed Oct 18, 2024
1 parent 95e054f commit 5ee3dbc
Show file tree
Hide file tree
Showing 11 changed files with 580 additions and 376 deletions.
49 changes: 31 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ya-client-model = { git = "https://github.com/golemfactory/ya-client.git", rev =
rinit-protos = { path = "rinit-protos" }
anyhow = "1.0"
async-io = "2.3.4"
async-process = { path = "../async-process" }
async-process = { git = "https://github.com/golemfactory/smol-async-process.git", branch = "feat/forward-pre-exec" }
bollard-stubs = "1.41.0"
crc = "1.8.1"
futures = "0.3.31"
Expand Down
10 changes: 8 additions & 2 deletions rinit/build.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
use std::process::Command;

fn main() {
println!("cargo:rustc-link-search={}/extern-libs", env!("CARGO_MANIFEST_DIR"));
let status = Command::new("make").args(&["extern-libs/libseccomp.a"]).status().unwrap();
println!(
"cargo:rustc-link-search={}/extern-libs",
env!("CARGO_MANIFEST_DIR")
);
let status = Command::new("make")
.args(&["extern-libs/libseccomp.a"])
.status()
.unwrap();
if !status.success() {
panic!("Error building libseccomp.a library");
}
Expand Down
Loading

0 comments on commit 5ee3dbc

Please sign in to comment.