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
empty file list when asset directory is in nested folder #99
Comments
Actually, it is slightly more subtle: If |
Nope...even more subtle ;-). For developing |
Last comment (for now :-)). Synchronicity (and thus sanity!) can be achieved by enabling the feature "debug-embed" which removes the need for |
Can you provide a link to your code? Your explanation is hard to follow. Are you using a symlink? |
No symlinks (this is on Windows) and I’ll get a reproducible repo online tomorrow:-) |
Actually, the whole thing is simpler than I thought, and is related to #63 Regardless of whether using Repo is at https://github.com/yatesco/rust-embed-bug-with-workspaces |
Note to self: check if bbe6eea fixes this. |
Tested the reproduction code with the latest version (5.5.1), and the issue is fixed. The embedded path no longer depends on where you start |
Hi,
Given:
where each "\assets" directory is a copy with at least
a.txt
in, then#[folder = "assets/"]
is the only one that works when used within\component-a
.Observations:
#[folder = "component-a/assets"]
compiles but lists no files#[folder = "static/assets"]
compiles but lists no filesthis is regardless of whether
cargo run
is run within\
or\component-a
.What I am trying to achieve is either
component-a/assets/
orstatic/assets/
.Help :-)
The text was updated successfully, but these errors were encountered: