lucet
lucet copied to clipboard
Lucet, the Sandboxing WebAssembly Compiler.
... and possibly statically, but I haven't checked yet. The problem is that the thread-local variable `CURRENT_INSTANCE`, defined in `lucet-runtime-internals`, ends up appearing in both `liblucet-runtime.so` and `liblucet-wasi.so`, but at...
This was demonstrated at one point through https://github.com/bytecodealliance/lucet/pull/375, but that was an unconditional change that didn't make sense to land on its own - how do we feel about a...
**Context** This is part of a series of bugs that I spoke to @tyler @pchickey about. We are currently using Lucet to sandbox libraries in C++ applications. The idea behind...
There is at least one key difference: `alignof(long long) == 4` with `clang -m32`, but `alignof(long long) == 8` with `wasi-sdk/bin/clang`. While I'm not convinced that all of our recent...
As part of the ongoing work to make `lucetc` work for Windows, cranelift has had some APIs added to enable using `cranelift-module` for some of `lucetc`'s work, rather than `cranelift-faerie`....
Hello, I'm trying to find a way to compile wasm using lucetc and run it with lucet_runtime without ever hitting the filesystem- ideally keeping the contents of the shared object...
#408 solved the immediate problem of `lucetc` not offering useful error messages, but there are other crates that likely need the same treatment. We also should make error messages part...
I'm curios to understand the reason why `so` modules produced by `lucetc` are so large. For instance let's compile the code below with Lucet's toolchain and gcc. The binary produced...
As I understand `lucet_instance_run` is the only way of calling a wasm function from the a C "host". It "resolves" the function and makes a call to it. Unfortunately this...
This doesn't seem to be supported based on `--help` and a quick browse through the code. It's entirely possible I'm missing something, though! Firefox, at least, would really like this...