Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no_std is broken (using with sgx) #12

Open
brenzi opened this issue May 1, 2019 · 3 comments · May be fixed by #13
Open

no_std is broken (using with sgx) #12

brenzi opened this issue May 1, 2019 · 3 comments · May be fixed by #13

Comments

@brenzi
Copy link

brenzi commented May 1, 2019

When I use this crate within a sgx enclave (https://github.com/baidu/rust-sgx-sdk)
I get:

error: duplicate lang item in crate `std`: `f32_runtime`.
  |
  = note: first defined in crate `sgx_tstd`.

error: duplicate lang item in crate `std`: `f64_runtime`.
  |
  = note: first defined in crate `sgx_tstd`.

error: duplicate lang item in crate `std`: `panic_impl`.
  |
  = note: first defined in crate `sgx_tstd`.

error: duplicate lang item in crate `std`: `oom`.
  |
  = note: first defined in crate `sgx_trts`.

Cargo.toml:

...
blake2-rfc = { version = "0.2.18", default-features = false}
...
@brenzi
Copy link
Author

brenzi commented May 1, 2019

@brenzi
Copy link
Author

brenzi commented May 1, 2019

reported upstream: bluss/arrayvec#122

@brenzi
Copy link
Author

brenzi commented May 1, 2019

arrayvec is innocent. problem must lie somewhere else

@brenzi brenzi linked a pull request May 16, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant