Repository navigation
Conversation
…FutureDroppedCallbackStruct and related
ayroblu
commented
Jan 24, 2026
| let literal = e.variant_discr(*index).expect("invalid index"); | ||
| let ts_literal = Type::Int32.as_codetype().literal(&literal, ci); | ||
| // let ts_literal = Type::Int32.as_codetype().literal(&literal, ci); | ||
| let ts_literal = "0".into(); // todo? |
Author
There was a problem hiding this comment.
Looking back this, I realise I missed this. Not sure what this should be.
ayroblu
commented
Jan 24, 2026
| impl_code_type_for_primitive!(UInt8CodeType, "UInt8", "/*u8*/number", "0"); | ||
| impl_code_type_for_primitive!(UInt16CodeType, "UInt16", "/*u16*/number", "0"); | ||
| impl_code_type_for_primitive!(UInt32CodeType, "UInt32", "/*u32*/number", "0"); | ||
| impl_code_type_for_primitive!(UInt64CodeType, "UInt64", "/*u64*/bigint", "0n"); |
Author
There was a problem hiding this comment.
I realise these are probably never used, but they should probably be BigInt("0") since we're not allowed to use the 0n shorthand (tsc wise)
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Just putting this up as my work in progress. I applied every breaking change individually and made the appropriate change in ubrn based on what changed upstream.
I can't figure out the last test, wasm-arc-futures. For some reason uniffi gives back a 0n (invalid) handle when the call is made, and I'm not sure why. I don't think I'll be putting more time into this.
side note: looks like the latest rn tests are failing, but due to update upstream. They were passing just a week ago.