Skip to content

fix(rust): Use type_path for exported borrowed resource#1534

Merged
alexcrichton merged 3 commits intobytecodealliance:mainfrom
chenyan2002:fix-handle-lift
Feb 12, 2026
Merged

fix(rust): Use type_path for exported borrowed resource#1534
alexcrichton merged 3 commits intobytecodealliance:mainfrom
chenyan2002:fix-handle-lift

Conversation

@chenyan2002
Copy link
Contributor

@chenyan2002 chenyan2002 commented Feb 12, 2026

Fix #1466

  • Use type_path for exported borrowed resource
  • Rename export_cabi trait name from T to T_ to avoid name collision with user type name

@chenyan2002 chenyan2002 changed the title fix borrowed handle lift fix(rust): Use type_path for exported borrowed resource Feb 12, 2026
@chenyan2002 chenyan2002 marked this pull request as ready for review February 12, 2026 06:02
Copy link
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@alexcrichton alexcrichton added this pull request to the merge queue Feb 12, 2026
Merged via the queue into bytecodealliance:main with commit 1c6a7a5 Feb 12, 2026
26 of 27 checks passed
@chenyan2002 chenyan2002 deleted the fix-handle-lift branch February 13, 2026 00:11
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.

[Rust] export_cabi codegen bug

2 participants