-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Describe the bug
When performing cargo install lavagna, the compilation process fails. The bevy_embedded_assets can't find the assets folder.
Full output, directly after Compiling <dependency> v<version>:
The following warnings were emitted during compilation:
warning: bevy_embedded_assets@0.7.0: Could not find asset folder, please specify its path with $BEVY_ASSET_PATH
error: failed to run custom build command for `bevy_embedded_assets v0.7.0`
Caused by:
process didn't exit successfully: `/tmp/cargo-installklO25G/release/build/bevy_embedded_assets-36be3b4b8a9ca65c/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed={}
cargo:rerun-if-env-changed=BEVY_ASSET_PATH
cargo:warning=Could not find asset folder, please specify its path with $BEVY_ASSET_PATH
--- stderr
thread 'main' panicked at /home/sergey/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_embedded_assets-0.7.0/build.rs:111:9:
No asset folder found
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `lavagna v2.1.7`, intermediate artifacts can be found at `/tmp/cargo-installklO25G`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
To Reproduce
Steps to reproduce the behavior:
- Assure that you have cargo installed.
cargo install lavagna
Expected behavior
The log throws no errors and lavagna is installed at ~/.cargo/bin/lavagna.
Desktop (please complete the following information):
- OS: Arch Linux
- Version:
- rustup 1.26.0
- cargo 1.75.0-nightly
Side Note
In my project, I have the same issue. I uploaded it to crates.io but can't cargo install, due to the same error messages, although cargo package --list lists my assets folder.
Thank you in advance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels