aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

[Bug][move-compiler-v2] Double-check whether path canonicalization is needed for `move-model::add_source` and elsewhere

Open brmataptos opened this issue 9 months ago • 1 comments

🐛 Bug

move-compiler-v2 and move-model use file names as keys for things. But they are also used as user-visible outputs. We need to double-check that we aren't double-compiling or missing properties due to files reachable on multiple paths somehow.

brmataptos avatar May 03 '24 17:05 brmataptos

For example, see move-model/src/lib.rs near line 188:

target_sources_names.contains(fname.as_str()),

brmataptos avatar May 03 '24 17:05 brmataptos