New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cross-util run
can't access the file in host FS if there is symlink in the file's path
#1435
Comments
can you post the full build logs, preferably with I think you need to do # Cross.toml
[build.env]
volumes = ["_T=/mnt/ramdisk/target_astralite"] If you mount the target dir in docker, can the container stat the executable? I suspect not, docker doesn't follow symlinks.
|
The output for command
is
If this is podman/docker problem I'll just not use symlinks in the |
Checklist
Describe your issue
My project's
target
directory is symlink to ramdisk folderI have no problem with building project by
cross build
. After successfulcross build
I executeand I got error
If to run
stat /home/denis/Projects/astra_lite/target/x86_64-unknown-linux-gnu/release/astra_lite
directly everything is Ok:PS: and I have no problems at all if
target
directory is not symlinkWhat target(s) are you cross-compiling for?
No response
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5 (db4761b 2024-01-31)
Example
No response
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: