Skip to content

after new release 0.1.20 the build seems broken. The docs doesn't the reflect the changes. #123

@alessio-proietti

Description

@alessio-proietti

Hi,

after new commits I'm not able anymore to build a project with hermit-sys as dependency, it seems related to a change in the build toolchain and config.

Here the log:

error: failed to run custom build command for hermit-sys v0.1.20

Caused by:
process didn't exit successfully: /home/aproietti/hello_world/target/debug/build/hermit-sys-d0bdb23e975a1f94/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=HERMIT_IP
cargo:rerun-if-env-changed=HERMIT_GATEWAY
cargo:rerun-if-env-changed=HERMIT_MASK
Build libhermit-rs output-status: exit status: 101
Build libhermit-rs output-stdout:
Build libhermit-rs output-stderr: Updating crates.io index
Compiling compiler_builtins v0.1.39
Compiling core v0.0.0 (/home/aproietti/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Compiling autocfg v1.0.1
error: Error loading target specification: Could not find specification for target "x86_64-unknown-hermit-kernel". Run rustc --print target-list for a list of built-in targets

error: could not compile core

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

--- stderr
thread 'main' panicked at 'assertion failed: output.status.success()', /home/aproietti/.cargo/registry/src/github.com-1ecc6299db9ec823/hermit-sys-0.1.20/build.rs:107:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions