Stream: rust-toolchain

Topic: -Z sandbox flag for cargo


view this post on Zulip Yoshua Wuyts (Oct 31 2024 at 21:38):

I saw https://github.com/weihanglo/cargo/pull/66 has been posted for Cargo, adding support for sandboxed execution of build.rs scripts. However the PR is using Wasmtime with WASIp1, and it from reading the motivation section it sounds like they have open questions about where WASI is headed, and how to best structure this feature.

What does this PR try to resolve? This is an experiment for rust-lang/rust-project-goals#108. An unstable [sandbox] config table is added behind the -Zsandbox unstable flag: sandbox.runner: Target...

view this post on Zulip Yoshua Wuyts (Oct 31 2024 at 21:39):

I'm not sure if I have a specific ask - but just based on vibes it feels like they could use some help?

view this post on Zulip Alex Crichton (Oct 31 2024 at 21:53):

I've left some words

What does this PR try to resolve? This is an experiment for rust-lang/rust-project-goals#108. An unstable [sandbox] config table is added behind the -Zsandbox unstable flag: sandbox.runner: Target...

Last updated: Dec 23 2024 at 13:07 UTC