foundry-rs / compilers

Utilities for working with native solc and compiling projects.
Apache License 2.0
58 stars 34 forks source link

fix: absolute paths in build info #121

Closed klkvr closed 1 month ago

klkvr commented 1 month ago

Closes https://github.com/foundry-rs/foundry/issues/7878

Removes paths stripping logic from solc implementation, instead we now use CompilerInput::strip_prefix and CompilerOutput::join_all directly in compile_* functions, and only join output paths after writing build info.