-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
通过build.rs编译出hopper后,
执行命令:
./hopper compile --header /include/example_test.h --library /usr/lib64/libexample_test.so --output output
报错如下:
warning: hopper-harness@1.0.0: dir=Hopper/output, lib=example_test_fuzz
error: failed to run custom build command for `hopper-harness v1.0.0 (Hopper/hopper-harness)`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: `Hopper/output/release/build/hopper-harness-e84283c1e2c3727f/build-script-build` (exit status: 101)
--- stdout
cargo:warning=dir=Hopper/output, lib=example_test_fuzz
cargo:rustc-link-lib=dylib=example_test_fuzz
cargo:rustc-link-arg=-Wl,-rpath,Hopper/output
cargo:rustc-link-search=native=Hopper/output
cargo:rustc-link-arg=-Wl,--allow-shlib-undefined
cargo:rerun-if-changed=/include/example_test.h
warning: build failed, waiting for other jobs to finish...
error: failed to compile `hopper-harness v1.0.0 (Hopper/hopper-harness)`, intermediate artifacts can be found at `Hopper/output`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
15:31:49 [ERROR] Meets error: cargo install error
Error: cargo install error
请教大佬们,上述报错,应如何调整?
Metadata
Metadata
Assignees
Labels
No labels