Closed Kailai-Wang closed 2 years ago
Such errors usually occur, when the rust-compiler is older than the crate expects. If you update the rust-toolchain, you will probably find that the feature available_parallelism
has been stabilized and hence does not need that feature flag anymore.
Such errors usually occur, when the rust-compiler is older than the crate expects. If you update the rust-toolchain, you will probably find that the feature
available_parallelism
has been stabilized and hence does not need that feature flag anymore.
Thanks, this means howeverrust-toolchain.toml
needs to be updated, right?
Yes. I'd recommend using the same as in our worker repo: https://github.com/integritee-network/worker/blob/master/rust-toolchain.toml#L2
It is working with v1.1.5.
Thanks @clangenb and @haerdib I already submitted a PR for the fix: https://github.com/integritee-network/sgx-runtime/pull/62
I tried to remove the sgx_tstd
and sgx_patches
patches too as I saw 1.1.5 was used in worker repo.
Thanks a lot for the PR! Removing the patches seems to be the right choice 👍
As topic, steps to reproduce:
cd sgx-runtime
cargo update
=> it will update the SGX dep to 1.1.5cargo check -p test-no-std
It fails with the errors:
root cause seems to be sgx_unwind 1.1.5 compilation.
Is it known? (or upstream issue?)