Skip to content

Can't Compile Rust In Landrun #55

Description

@zicklag

Hey there, and thanks so much for this!

I love how simple it is, and it's such a great use of kernel features.

I'm running into an issue right now where, without --unrestricted-filesystem access, I can't compile a Rust program.

$ cargo new landrun-example
$ cd landrun-example
$ echo 'rand_core = "*"' >> Cargo.toml
$ cargo fetch
$ landrun --rwx / --env PATH --env HOME cargo b
   Compiling rand_core v0.10.1
error: failed to write /home/zicklag/tmp/landrun-example/target/debug/deps/librand_core-6d3ef1b0cc4019b4.rmeta: Invalid cross-device link (os error 18)

error: could not compile `rand_core` (lib) due to 1 previous error

Any hints?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions