Skip to content

Conversation

@bhartnett
Copy link
Contributor

@bhartnett bhartnett commented Dec 17, 2025

With this we disable the taskpools code in the EL at compile time when --threads:off is set.

We want to be able to compile the stateless execution function on bare metal for the zkEVM integration but the task pools code doesn't compile on bare metal and is not needed in that context either so we should support disabling it.

taskpools,
utils

when compileOption("threads"):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tersec Thoughts on using this switch? Is this the recommended way to check if threads are enabled at compile time?

@bhartnett bhartnett merged commit 4d2e892 into master Dec 19, 2025
17 of 18 checks passed
@bhartnett bhartnett deleted the disable-taskpools-when-threads-off branch December 19, 2025 04:05
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.

1 participant