It seems the dependencies are not vendored in which is a bit unfortunate and reminds me at the cbindgen situation. I am not sure what our longer-term plan here is but it seems we need to vendor them in ourselves here, too, to proceed. I guess I could ask at the Mozilla bug, though, given that Mozilla is (usually) vendoring in code needed.
Compiling target-lexicon v0.8.1 Compiling wasmonkey v0.1.8 (/var/tmp/build/lucetc/lucet-builtins/wasmonkey)error[E0658]: use of unstable library feature 'alloc': this library is unlikely to be stabilized in its current form or name (see issue #27783) --> /var/tmp/build/lucetc/vendor/target-lexicon/build.rs:15:1 |15 | extern crate alloc; | ^^^^^^^^^^^^^^^^^^^error: aborting due to previous error
We likely need a newer Rust compiler than 1.34.2, which is unfortunate. I am inclined to avoid that, though, if that error is the only thing that prevents a successful compilation.
Trac: Description: We need to create a lucetc project to build a modificed lucetc version, which is currently needed for RLBOx (this ticket corresponds to https://bugzilla.mozilla.org/show_bug.cgi?id=1582195)
After some searching I decided to use a newer Rust compiler (1.36.0) instead re-introducing our tor hack from earlier where we already used a more modern Rust version than 1.26.2 when compiling Rust code.