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

refactor: Fix placement of access of scala.scalanative.runtime definitions #3805

Conversation

WojciechMazur
Copy link
Contributor

  • Moves scala.scalanative.runtime definitions used only by javalib to javalib project
  • Moves StackTrace creation to scala.scalanative.runtime from javalib
  • Merges Scala 2 and Scala 3 implementations of Enum types
  • Limits access to scala.scalanative.runtime types
  • Renames scala.scalanative.runtime.libc => scala.scalanative.runtime.ffi
  • Decouple scalanative_nano_time used by javalib from their usage in Immix/Commix GC.

…llvm.dothing` instead of yielding thread
…ace of usage

* Merge javalib Scala 2/3 enums implementations
* Decouple scalanative_current_nanos used by GC from runtime
* More strict access to scalanative.runtime types
…ds on Comperable: Java defined types are erased to Object, Scala defined ones are preserved in the generic type
@WojciechMazur WojciechMazur merged commit 2bb9cc6 into scala-native:main Mar 5, 2024
61 checks passed
@WojciechMazur WojciechMazur deleted the refactor/nativelib-javalib-access branch March 5, 2024 11:37
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.

None yet

1 participant