Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Mar 10, 2022
1 parent 2cc1169 commit 8938489
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion deps/build_local_sandbox.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ sandbox_src = joinpath(@__DIR__, "userns_sandbox.c")
run(`cc -std=c99 -O2 -static -static-libgcc -g -o $(sandbox_path) $(sandbox_src)`)

# Tell UserNSSandbox_jll to load our `sandbox` instead of the default artifact one
jll_uuid = Base.UUID("b88861f7-1d72-59dd-91e7-a8cc876a4984")
set_preferences!(
Base.UUID("b88861f7-1d72-59dd-91e7-a8cc876a4984"),
jll_uuid,
"sandbox_path" => sandbox_path;
force=true,
)
@show Base.active_project()
run(`ls -la $(dirname(Base.active_project()))`)
@show load_preference(jll_uuid, "sandbox_path")
@info("build done")

0 comments on commit 8938489

Please sign in to comment.