here's my try:
```
$ docker run -ti --rm baiduxlab/sgx-rust:1804-1.1.3 bash
# rustup target add wasm32-unknown-unknown
# git clone https://github.com/encointer/encointer-worker.git
# cd encointer-worker
# git checkout v0.6.15
# cargo update
# make
```

then resulted in ring's build error (for target `wasm32-unknown-unknown`)
```
 --- stderr
    thread 'main' panicked at 'failed to execute ["clang" "-O3" 
"-ffunction-sections" "-fdata-sections" "-fPIC" 
"--target=wasm32-unknown-unknown" "-I" "include" "-Wall" "-Wextra" "-emit-llvm" 
"-fno-stack-protector" "-std=c1x" "-Wbad-function-cast" "-Wnested-externs" 
"-Wstrict-prototypes" "-pedantic" "-pedantic-errors" "-Wall" "-Wextra" 
"-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wenum-compare" "-Wfloat-equal" 
"-Wformat=2" "-Winline" "-Winvalid-pch" "-Wmissing-field-initializers" 
"-Wmissing-include-dirs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" 
"-Wsign-conversion" "-Wundef" "-Wuninitialized" "-Wwrite-strings" 
"-fno-strict-aliasing" "-fvisibility=hidden" "-g3" "-DNDEBUG" "-c" 
"-o/root/encointer-worker/target/release/wbuild/target/wasm32-unknown-unknown/release/build/ring-4a31dc7b327132f4/out/generic.o"
 "crypto/fipsmodule/bn/generic.c"]: No such file or directory (os error 2)', 
/root/.cargo/git/checkouts/webpki-nostd-e45ab8de3df5e24d/5e61319/ring/build.rs:656:9
```

did i miss something?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/294#issuecomment-736098030

Reply via email to