Comments (5)
I think this is an issue of us not properly resolving workspaces, so we don't grab the correct paths.
failed to read `/bevy_mod_scripting/Cargo.toml`
looks very wrong.
This was supposed to be fixed with #684 but I think an assumption done there has been broken.
Should be fixed with #939, can you reproduce the issue with cross installed from the main branch?
from cross.
https://github.com/makspll/bevy_mod_scripting/blame/10dcca992a5bdcd172b293e54a3f6dcdbbd848f2/crates/languages/bevy_mod_scripting_lua_derive/Cargo.toml#L26 this is the reason I think. Try using workspace = true
here
from cross.
Sorry, linked the wrong line, should be https://github.com/makspll/bevy_mod_scripting/blob/10dcca992a5bdcd172b293e54a3f6dcdbbd848f2/crates/languages/bevy_mod_scripting_lua_derive/Cargo.toml#L43
the problem is basically that you're traversing down to much, if anything it should be path = "../../.."
, fixing that line makes the project build for me on cross 0.2.5
from cross.
So to summarize, cross 0.2.5 mounts the cargo workspace at /project
, the manifest at $workspace/crates/languages/bevy_mod_scripting_lua_derive/Cargo.toml
points to a folder that travels one folder outside the workspace, ../../../../bevy_mod_scripting
. The fourth ..
is /
meaning the path becomes /bevy_mod_scripting
which is not correct for how the workspace is mounted.
You can reproduce this issue without cross by renaming the repos folder to something else, here's me doing it on windows by renaming bevy_mod_scripting
to bevy_mod_scripting_renamed
error: failed to load manifest for workspace member `G:\workspace\bevy_mod_scripting_renamed\crates\bevy_script_api`
Caused by:
failed to load manifest for dependency `bevy_mod_scripting_lua_derive`
Caused by:
failed to load manifest for dependency `bevy_mod_scripting`
Caused by:
failed to read `G:\workspace\bevy_mod_scripting\Cargo.toml`
Caused by:
The system cannot find the path specified. (os error 3)
from cross.
Oh good catch! I wonder why this doesn't break on a normal build?
from cross.
Related Issues (20)
- Upgrade from ubuntu 20.04 to 22.04 HOT 2
- Error: building at STEP "RUN /common.sh": while running runtime: exit status 126 HOT 4
- cross build --target x86_64-pc-windows-gnu missing synchronization library HOT 5
- CARGO_TARGET_AARCH64_LINUX_ANDROID_RUSTFLAGS Parse error when there are spaces in the parameters HOT 4
- failed to run custom build command for `openssl-sys v0.9.101` HOT 1
- Could we add gfortran support to our images? HOT 3
- Unable to cross compile for Windows (cannot find -lsynchronization) HOT 2
- Upgrade qemu and integrate `qemu-user` runners for `loongarch64-linux-gnu`
- Unable to compile project HOT 4
- Ability to override base image? HOT 5
- Give $CROSS_WORKDIR in pre-build
- Publish a new release HOT 2
- Unable to use cross build --offline in docker-in-docker environment HOT 4
- zig build error: UnknownOperatingSystem, on aarch64 opencv-rs version 0.91.2 HOT 2
- zig build undefined symbols on ld linking HOT 3
- Cross does not have an ARM64 platform docker image for v0.2.5 and main HOT 2
- target armv7 on macOS Silicon fails: linker x86_64-unknown-linux-gnu-gcc unknown HOT 7
- Are ghcr.io/cross-rs/... Docker images still being updated (last update 2022)? HOT 3
- Nightly builds fail on many platforms now that nightly sets `-fuse-ld=lld` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cross.