Skip to content

Conversation

@wakabat
Copy link
Contributor

@wakabat wakabat commented Dec 24, 2025

This commit contains several RISC-V fixes we've accumulated:

  • Handle more RISC-V allocations
  • Metadata must be aligned by 8
  • Pass pointer width instead of hardcoding it to 8
  • Implement trampoline for rv32

It fixes problems using wasmer in rv32, but for now the code does not aim to enable rv32. I feel like it is a bigger decision.

This commit contains several RISC-V fixes we've accumulated:

* Handle more RISC-V allocations
* Metadata must be aligned by 8
* Pass pointer width instead of hardcoding it to 8

It fixes problems using wasmer in rv32, but for now the code does not
aim to enable rv32. I feel like it is a bigger decision.
@wakabat
Copy link
Contributor Author

wakabat commented Dec 24, 2025

@marxin So this is what I have to replace #5521. I have to mention that many changes included in this PR has to do with rv32, while wasmer does not officially support rv32.

We can of course talk about it, and discuss how much in this PR shall be merged into wasmer.

@Arshia001 Arshia001 requested a review from marxin December 24, 2025 08:21
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