rust-secure-code / cargo-sandbox

Perform Cargo builds inside of a sandboxed environment
Apache License 2.0
52 stars 1 forks source link

Evaluate “rustwide” #5

Open tarcieri opened 5 years ago

tarcieri commented 5 years ago

Uses a restricted Docker container for performing Rust builds:

https://github.com/rust-lang/rustwide

May be helpful for (or eliminate the need for) this project.

tarcieri commented 5 years ago

I pushed up my WIP of a rustwide-based sandbox. It doesn't seem like there's an easy way to copy a development source tree into a container:

https://github.com/rust-secure-code/cargo-sandbox/pull/7 (should've done a draft PR, oops)

In that regard, cargo-wharf (#6) might be a better fit for this project.