compilers icon indicating copy to clipboard operation
compilers copied to clipboard

Utilities for working with native solc and compiling projects.

Results 33 compilers issues
Sort by recently updated
recently updated
newest added

This PR introduces following traits: - `Compiler` - wrapper around compiler executable (`solc`/`vyper`) with following associated types - `Input` - trait capable of generating a `Vec` from given `Sources` set...

I would like to use this library from python and am willing to implement the bindings, but I wanted to gauge interest in upstreaming these and give an opportunity for...

Hello, I think I have found a bug in the way the compiler maps sources. The sources in the artifact produced by the build are different than the source paths...

in the bytecode.rs file, i think the Bytecode struct should contain an optional field for the contract metadata

Fix #47. One corresponding test is added. ## Fix strategy - Remove the code that blindly add trailing `/` when serializing `Remapping` and `RelativeRemapping`. - Preserve the trailing `/` in...

Hi, I notice that when formatting remappings in the compiler settings, a slash `/` is pushed if the remapped path does not end with `/`. https://github.com/foundry-rs/compilers/blob/6528e4ac0b8f17599fd4b6b1e091b21c690ad142/src/remappings.rs#L160-L162 This may lead to...

Per earlier discussion we've decided that it makes sense to separate cache and artifacts between profiles by default. However, start silently saving artifacts to `out/{profile}` might be a breaking change...

move the solc types to a standalone crate so they are easier to consume

ref https://github.com/foundry-rs/foundry/issues/6722 this should improve error formatting and ideally highlight the conflicting versions https://github.com/foundry-rs/compilers/blob/314c9171c3c09a90dd528c4884bc1b3da569308b/src/resolver/mod.rs#L607-L609

I ran the example in the README as is, and didn't realize I did not have `solc` installed. It gave me the following error: ``` Running `target/debug/compiler-test` thread 'main' panicked...