Jonathan Schwender
Jonathan Schwender
This is not an issue of the `libc` crate, but of the rust compiler, since `rustc` invokes the linker. You should be able to use `CARGO_TARGET__LINKER` to set the linker...
The impl block has the type `Item::Impl` and the associated function is [`ImplItem::Fn`](https://docs.rs/syn/latest/syn/enum.ImplItem.html). The complete (debug) output is: ``` File { shebang: None, attrs: [], items: [Item::Struct { attrs: [],...
Does setting the `CLANG_PATH` environment variable to `clang-cl` fix this issue?
bindgen uses `libclang-sys`, which documents `CLANG_PATH` here: https://github.com/KyleMayes/clang-sys?tab=readme-ov-file#environment-variables The usage area is [here in bindgen](https://github.com/rust-lang/rust-bindgen/blob/4f9fa49ca907b831fdc3aecdfaec36b16d03c8d8/bindgen/lib.rs#L824-L830), which calls [this function in clang-sys](https://github.com/KyleMayes/clang-sys/blob/b7992e864eaa2c8cb5c014a52074b962f257e29b/src/support.rs#L59-L65). But I guess this maybe only affects the `clang`...
@atbrakhi I'm curious: Is this PR still on your todo list, or did you encounter some major blocking issue? Would it be an option to build spidermonkey (the C/C++ code)...
Yes, That would be absolutely sufficient. Thanks for your help :)
I'd like to reopen this issue. I checked and the two examples you posted work for me too. However this does not work for all cases. To reproduce do the...
I'd like to link to the [Travis CI build](https://travis-ci.com/github/hermitcore/uhyve/jobs/334213154) for commit 4a2381ccc192b3d699fd4b54fb007e297bac9e2d. In release mode it seems a race condition occured that caused a Panic due to a BorrowError: `[0][!!!PANIC!!!]...
I'm updating this Issue, since apparently it is still relevant. https://git.rwth-aachen.de/acs/public/hermitcore/libhermit-rs/-/jobs/1378271 shows a CI run where the kernel crashed, but uhyve exited with `0` and the test was marked as...
I also think that the kernel should properly offline all cores when shutting down. If the kernel doesn't shut down all cores, then that should be treated as an error...