-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move most of the
wit-bindgen
crate into generated code (#868)
* Prepare for the eventual removal of the `wit-bindgen` crate Instead of assuming that the entire crate exists start requesting individual items from the crate throughout the generator so the generated code can codegen precisely what's needed. * Start moving items from `wit-bindgen` into generated code * Move the `run_ctors_once` workaround into generate code Also make it optional * Move integer `as_*` helpers into generated code. * Move the `Resource` type and supporting traits into generated code.
- Loading branch information
1 parent
a438745
commit d876603
Showing
14 changed files
with
665 additions
and
466 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.