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

Type as int64 #2576

Closed
wants to merge 1 commit into from
Closed

Type as int64 #2576

wants to merge 1 commit into from

Conversation

zherczeg
Copy link
Contributor

@zherczeg zherczeg commented Apr 1, 2025

This patch is on the top of #2572 and changes the Type internal representation to an i64. This way the reference types and their 32 bit indices can fit into a single value. In the future, the nullable references (e.g. (ref func) / funcref) can be handled by the upper 32 bit.

@zherczeg
Copy link
Contributor Author

zherczeg commented Apr 1, 2025

A cmake error appeared on s390x.

 CMake Error at out/_deps/libuv-src/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

Patch is not involved.

@zherczeg zherczeg marked this pull request as ready for review April 2, 2025 08:42
@zherczeg
Copy link
Contributor Author

zherczeg commented Apr 2, 2025

@sbc100 @SoniEx2 the patch is reworked to be simple. Please check it.
There are more cmake errors, independent from the patch.

@zherczeg zherczeg force-pushed the type_i64 branch 4 times, most recently from 79b8de1 to 6ed1ecf Compare April 2, 2025 09:42
@zherczeg
Copy link
Contributor Author

zherczeg commented Apr 2, 2025

It looks like uvwasi is very old (Sun May 17 17:49:24 2020), but moving to a newer version does not help as well.

@zherczeg
Copy link
Contributor Author

I keep the branch for a while, but close this PR.

@zherczeg zherczeg closed this Apr 14, 2025
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