Skip to content

在build這一步會報錯,報錯信息如下,不知道爲何少了兩個文件 #2

Description

@moqiguzhu

Compiling serde_bytes v0.11.17
Compiling castaway v0.2.3
Compiling itertools v0.13.0
Compiling strum_macros v0.26.4
Compiling indoc v2.0.6
Compiling void v1.0.2
Compiling kernels v0.1.0 (/home/ubuntu/nockchain/crates/kernels)
Compiling compact_str v0.8.1
error: couldn't read /home/ubuntu/nockchain/crates/kernels/../../assets/wal.jam: No such file or directory (os error 2)
--> crates/kernels/src/wallet.rs:3:5
|
3 | include_bytes!(concat!(env!("CARGO_MANIFEST_DIR"), "/../../assets/wal.jam"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro include_bytes (in Nightly builds, run with -Z macro-backtrace for more info)

error: couldn't read /home/ubuntu/nockchain/crates/kernels/../../assets/dumb.jam: No such file or directory (os error 2)
--> crates/kernels/src/dumb.rs:5:27
|
5 | pub const KERNEL: &[u8] = include_bytes!(concat!(
| _________________________^
6 | | env!("CARGO_MANIFEST_DIR"),
7 | | "/../../assets/dumb.jam"
8 | | ));
| |
^
|
= note: this error originates in the macro include_bytes (in Nightly builds, run with -Z macro-backtrace for more info)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions