Exclude unnecessary info from CodegenResults#80187
Merged
bors merged 2 commits intorust-lang:masterfrom Dec 25, 2020
0dvictor:nativelib
Merged
Exclude unnecessary info from CodegenResults#80187bors merged 2 commits intorust-lang:masterfrom 0dvictor:nativelib
bors merged 2 commits intorust-lang:masterfrom
0dvictor:nativelib
Conversation
Contributor
|
r? @lcnr (rust-highfive has picked a reviewer for you, use r? to override) |
Author
|
@bjorn3 Could you take a look? |
Closed
Member
|
Can you please add a test for |
Author
|
Good idea, let me look into it. |
Contributor
|
r? @bjorn3 i think |
pickfire
reviewed
Dec 19, 2020
Member
There was a problem hiding this comment.
The cstore::NativeLib originates from an Lrc, so we can't move any of these fields.
added 2 commits
December 23, 2020 12:51
`foreign_module` and `wasm_import_module` are not needed for linking, and hence can be removed from CodegenResults.
Author
|
Added a sanity test covering |
Member
|
Thanks! @bors r+ |
Collaborator
|
📌 Commit e8a564e has been approved by |
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this pull request
Dec 23, 2020
Exclude unnecessary info from CodegenResults `foreign_module` and `wasm_import_module` are not needed for linking, and hence can be removed from CodegenResults. Fixes rust-lang#77857
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this pull request
Dec 24, 2020
Exclude unnecessary info from CodegenResults `foreign_module` and `wasm_import_module` are not needed for linking, and hence can be removed from CodegenResults. Fixes rust-lang#77857
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this pull request
Dec 24, 2020
Exclude unnecessary info from CodegenResults `foreign_module` and `wasm_import_module` are not needed for linking, and hence can be removed from CodegenResults. Fixes rust-lang#77857
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this pull request
Dec 24, 2020
Exclude unnecessary info from CodegenResults `foreign_module` and `wasm_import_module` are not needed for linking, and hence can be removed from CodegenResults. Fixes rust-lang#77857
Collaborator
Collaborator
|
☀️ Test successful - checks-actions |
Merged
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.
foreign_moduleandwasm_import_moduleare not needed for linking, and hence can be removed from CodegenResults.Fixes #77857