You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The target directory might be called target, but actually be a symlink to something else that isn't called target - and canonicalize resolves symlinks.
In both cases, paths::target_dir() fails.
What is the rationale for not putting all the generated code etc. in the OUT_DIR or a subdirectory thereof directly? If the latter is acceptable, I'm happy to submit a pull request changing the behavior...
The text was updated successfully, but these errors were encountered:
Currently,
paths::target_dir()
tries to find thetarget
directory by looking at the name.This has two problems:
target-dir
(https://doc.rust-lang.org/cargo/reference/config.html)target
- andcanonicalize
resolves symlinks.In both cases,
paths::target_dir()
fails.What is the rationale for not putting all the generated code etc. in the OUT_DIR or a subdirectory thereof directly? If the latter is acceptable, I'm happy to submit a pull request changing the behavior...
The text was updated successfully, but these errors were encountered: