With Move IR compiler, we can generate source map files when compiling. I can’t find the same function in Move lang.
2 Likes
We do produce the source map for modules/scripts within the Move language compiler. However, we don’t currently have an option to serialize these to disk. We will look into adding this option to the compiler.
5 Likes
As a followup, this functionality has been added to the compiler and is now on master. Source maps can now be saved alongside the binaries by passing either the -m
or --source-map
flag to the Move compiler.
An example usage of it can be found in the PR that added it as well: https://github.com/libra/libra/pull/3593
4 Likes
tnx for all coin …