-
Notifications
You must be signed in to change notification settings - Fork 1.7k
winch: Refactoring wasmtime compiler integration pieces to share more between Cranelift and Winch #5944
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
Merged
alexcrichton
merged 18 commits into
bytecodealliance:main
from
KevinRizzoTO:compiler-refactor
Mar 8, 2023
Merged
winch: Refactoring wasmtime compiler integration pieces to share more between Cranelift and Winch #5944
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
652f30f
Enable the native target by default in winch
alexcrichton 941c6d9
Refactor Cranelift's ISA builder to share more with Winch
alexcrichton da00f8b
Moving compiler shared components to a separate crate
KevinRizzoTO b62b77d
Restore native flag inference in compiler building
alexcrichton 178e641
Move `Compiler::page_size_align` into wasmtime-environ
alexcrichton baba1a9
Fill out `Compiler::{flags, isa_flags}` for Winch
alexcrichton a67925c
Plumb the `is_branch_protection_enabled` flag for Winch
alexcrichton 08011af
Moving executable creation to shared compiler crate
KevinRizzoTO 1740110
Adding builder back in and removing from shared crate
KevinRizzoTO 747a48f
Refactoring the shared pieces for the `CompilerBuilder`
KevinRizzoTO 1bcae3d
Documentation updates, and renaming the finish method
KevinRizzoTO f411070
Adding back in a default temporarily to pass tests, and removing some…
KevinRizzoTO cae50f8
Fixing winch tests with wrong method name
KevinRizzoTO fe20812
Removing unused imports from codegen shared crate
KevinRizzoTO 07ff9b6
Apply documentation formatting updates
KevinRizzoTO c53501c
Adding back in cranelift_native flag inferring
KevinRizzoTO 5d16640
Adding new shared crate to publish list
KevinRizzoTO 4306f49
Adding write feature to pass cargo check
KevinRizzoTO File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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
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
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
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| [package] | ||
| name = "wasmtime-cranelift-shared" | ||
| version.workspace = true | ||
| authors.workspace = true | ||
| description = "Base-level integration with Wasmtime and Cranelift" | ||
| license = "Apache-2.0 WITH LLVM-exception" | ||
| repository = "https://github.com/bytecodealliance/wasmtime" | ||
| documentation = "https://docs.rs/wasmtime-cranelift-shared/" | ||
| edition.workspace = true | ||
|
|
||
| [dependencies] | ||
| anyhow = { workspace = true } | ||
| wasmtime-environ = { workspace = true } | ||
| cranelift-codegen = { workspace = true } | ||
| cranelift-native = { workspace = true } | ||
| target-lexicon = { workspace = true } | ||
| gimli = { workspace = true } | ||
| object = { workspace = true } |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.