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

Zigler : release mode #497

Open
ndrean opened this issue Nov 2, 2024 · 0 comments
Open

Zigler : release mode #497

ndrean opened this issue Nov 2, 2024 · 0 comments

Comments

@ndrean
Copy link

ndrean commented Nov 2, 2024

When I pass release_modes: :fast in use Zig, I see that Zigler builds indeed "build -Doptimize=ReleaseFast"

I seems that you read the env var ZIGLER_RELEASE_MODE but Zig.Command.release_mode/1 only reads from the module, not from ENV.

System.fetch_env!("ZIGLER_RELEASE_MODE")

Is this something wanted?

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

No branches or pull requests

1 participant