Ingvar Stepanyan
Ingvar Stepanyan
> Places needing patching FWIW previously (before even filing this issue) I tried compiling rustc with Emscripten instead, which should, in theory, reduce number of these places to patch, as...
> can't find crate for `std` Yeah for that I think you'll need to do the proper build (via `x.py build`) to build all components. I haven't had much luck...
@bjorn3 Left a comment on your MIRI commit on your branch.
@bjorn3 But also, I'm not sure why rustc is now depending on miri... shouldn't it be the other way around? (like in non-WASI version)
I'm not sure I understand what you're saying... neither should be affected by which crate you compile as an entry point. I've changed my local copy of Rust & MIRI...
> When switching to miri as crate root, I would have to recompile all crates into miri/target Not when you use `miri` in `src/tools/miri` path - then it reuses same...
Yeah, in conjunction with your comment on that commit it makes sense now. Shouldn't be hard to switch.
What's wrong with flate2? It worked well in WASM for me (in other projects). See https://github.com/alexcrichton/flate2-rs/issues/161.
Oh, it was? Where did you see that?
> [`master`/eyre/build.rs#L63-L69](https://github.com/eyre-rs/eyre/blob/master/eyre/build.rs?rgh-link-date=2023-10-18T18%3A35%3A56Z#L63-L69) I don't understand how the referenced lines are related to feature in question.