Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: better extra_args handling #208

Merged
merged 4 commits into from
Oct 1, 2024
Merged

feat: better extra_args handling #208

merged 4 commits into from
Oct 1, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Oct 1, 2024

ref foundry-rs/foundry#8997

Adds Solc constructor for creating solc instances with arguments. Changes extra_args to being prepended to actual solc arguments instead of appended as for now.

This allows us to use eof binary through Solc::new_with_args("docker", ["run", ... ])

We didn't end up using those for --eof-version, so this shouldn't break anything. Will add a test for this in scope --eof flag on foundry side

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, one suggestion

crates/compilers/src/compilers/solc/compiler.rs Outdated Show resolved Hide resolved
crates/compilers/src/compilers/solc/compiler.rs Outdated Show resolved Hide resolved
@klkvr klkvr merged commit c3771e5 into main Oct 1, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants