mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-12 19:55:14 +02:00
feat(dynamic): improve sandbox hardening and build caching
This commit is contained in:
parent
7468d2214b
commit
20093972a9
8 changed files with 345 additions and 45 deletions
|
|
@ -90,7 +90,7 @@ fn mk_spec() -> HarnessSpec {
|
|||
|
||||
fn write_project(workdir: &Path) {
|
||||
// Empty requirements: venv creation succeeds offline; the cached
|
||||
// `pyvenv.cfg` turns every later call into a cache hit.
|
||||
// `.python_cache_done` marker turns every later call into a cache hit.
|
||||
std::fs::write(workdir.join("requirements.txt"), "").unwrap();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue