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

fix: Fix handling of erased extern calls with variadic arguments #3691

Merged
merged 2 commits into from Jan 18, 2024

Conversation

WojciechMazur
Copy link
Contributor

Fixes #3668

  • Fix handling of erased extern calls with variadic arguments
  • Fix a bug leading to truncation of Long to Size on 32-bit systems
  • Share parts of common symbol utils betwen prepNativeInterop phases

Fix a bug leading to truncation of Long to Size on 32-bit systems
Share parts of common symbol utils betwen prepNativeInterop phases
@WojciechMazur WojciechMazur merged commit 39ed724 into scala-native:main Jan 18, 2024
56 of 62 checks passed
@WojciechMazur WojciechMazur deleted the fix/issue-3668 branch January 18, 2024 22:29
WojciechMazur added a commit that referenced this pull request Jan 19, 2024
* Fix handling of erased extern varages by attaching typer types.
Fix a bug leading to truncation of Long to Size on 32-bit systems
Share parts of common symbol utils betwen prepNativeInterop phases

* Fix CVarArgTest - use correct format for long arguments

(cherry picked from commit 39ed724)
WojciechMazur added a commit that referenced this pull request Jan 19, 2024
* Fix handling of erased extern varages by attaching typer types.
Fix a bug leading to truncation of Long to Size on 32-bit systems
Share parts of common symbol utils betwen prepNativeInterop phases

* Fix CVarArgTest - use correct format for long arguments

(cherry picked from commit 39ed724)
WojciechMazur added a commit to WojciechMazur/scala-native that referenced this pull request Jan 25, 2024
…la-native#3691)

* Fix handling of erased extern varages by attaching typer types.
Fix a bug leading to truncation of Long to Size on 32-bit systems
Share parts of common symbol utils betwen prepNativeInterop phases

* Fix CVarArgTest - use correct format for long arguments
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.

Strange issue when dereferencing a string pointer
1 participant