Stream: git-wasmtime

Topic: wasmtime / Issue #2571 Jit demo does "PermissionDenied"


view this post on Zulip Wasmtime GitHub notifications bot (Jan 12 2021 at 13:24):

adsick opened Issue #2571:

my OS: Fedora 33,
Rust: 1.49.0

so when I do cargo run in "cranelift-jit-demo-main" it compiles but then:

thread 'main' panicked at 'unable to make memory readable+executable: SystemCall(Os { code: 13, kind: PermissionDenied, message: "Permission denied" })', /home/adsick/.cargo/registry/src/github.com-1ecc6299db9ec823/cranelift-simplejit-0.68.0/src/memory.rs:197:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

why is it so and how do I fix it (or rather it should be fixed somewhere in the actual project, I dunno)

view this post on Zulip Wasmtime GitHub notifications bot (Jan 12 2021 at 13:28):

adsick commented on Issue #2571:

sorry, it is for https://github.com/bytecodealliance/cranelift-jit-demo

view this post on Zulip Wasmtime GitHub notifications bot (Jan 12 2021 at 13:28):

adsick closed Issue #2571:

my OS: Fedora 33,
Rust: 1.49.0

so when I do cargo run in "cranelift-jit-demo-main" it compiles but then:

thread 'main' panicked at 'unable to make memory readable+executable: SystemCall(Os { code: 13, kind: PermissionDenied, message: "Permission denied" })', /home/adsick/.cargo/registry/src/github.com-1ecc6299db9ec823/cranelift-simplejit-0.68.0/src/memory.rs:197:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

why is it so and how do I fix it (or rather it should be fixed somewhere in the actual project, I dunno)


Last updated: Nov 22 2024 at 17:03 UTC