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

make all sizeof calls in codegen use types #24433

Draft
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

metagn
Copy link
Collaborator

@metagn metagn commented Nov 14, 2024

follows up #24445, refs nim-lang/nif#120

Not sure if using sizeof(loc.t) is always correct

Araq pushed a commit that referenced this pull request Nov 17, 2024
Partial alternative to #24433 that should be harmless and is the minimal
amount of changes that #24438 depends on.
@Araq
Copy link
Member

Araq commented Nov 25, 2024

Make it opt-in for the NIFC generation. For the old codegen the possible regressions are of the worst kind and not worth the risks.

@metagn metagn marked this pull request as draft November 25, 2024 12:11
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