3 ms·
Oh wow. I'd be very interested in hearing how they sandbox rust-analyzer. I found a discussion of supporting the analyzer itself by generating config files [1][
by mmastrac 3y ago
Oh wow. I'd be very interested in hearing how they sandbox rust-analyzer. I found a discussion of supporting the analyzer itself by generating config files [1][2], but not how you can sandbox it.
That would be extremely useful as the analyzer is a pretty juicy target and also runs proc-macros/build.rs scripts.
[1] https://github.com/bazelbuild/rules_rust/pull/384 https://github.com/bazelbuild/rules_rust/pull/384
[2] https://bazelbuild.github.io/rules_rust/rust_analyzer.html https://bazelbuild.github.io/rules_rust/rust_analyzer.html
- mike-cardwell 3y agoSandboxing rust-analyzer is fairly easy. Here's how I did it: https://www.grepular.com/Sandbox_Rust_Development_with_Rust_Analyzer https://www.grepular.com/Sandbox_Rust_Development_with_Rust_... Well, that's a bit out of date now as I use podman, to get around the sudo issues. But that's the basic idea.