fornwall / rust-script

Run Rust files and expressions as scripts without any setup or compilation step.
https://rust-script.org
Apache License 2.0
1.2k stars 41 forks source link

Path dependencies are not recompiled when modified #119

Closed wmmc88 closed 9 months ago

wmmc88 commented 9 months ago

When providing a rust-script with a Cargo path dependency, changes in the path dependency(ie. source code changes in the local dependency) do not trigger a new build of the dependency when running the rust-script. It seems to use a cached copy of it. This does not match the behaviour in Cargo when Path dependencies are modified.

wmmc88 commented 9 months ago

My bad. Upon further inspection, it seems that it was a local issue.