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: always provide Default for MultiCompiler #188

Merged
merged 3 commits into from
Aug 18, 2024
Merged

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Aug 16, 2024

Closes #187
Closes #168

Updates MultiCompiler and makes solc compiler on it optional. If svm-solc is not activated, it is attempted to initialize solc via Solc::new("solc"), and if solc binary is not available in command line, it is set to None.

We could also add svm-solc to default features as I think people would often prefer enabling it as it's required to emulate foundry's default behavior.

@klkvr klkvr force-pushed the klkvr/default-svm-solc branch from adc88db to 32f2248 Compare August 18, 2024 19:40
@klkvr klkvr force-pushed the klkvr/default-svm-solc branch from 32f2248 to eb9e75e Compare August 18, 2024 19:40
@klkvr klkvr merged commit 3f08085 into main Aug 18, 2024
30 checks passed
@DaniPopes DaniPopes deleted the klkvr/default-svm-solc branch November 18, 2024 10:41
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.

examples don't build with default features README example is outdated / doesn't compile
2 participants