-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add user seed to -Z randomize-layout
#91932
Merged
Merged
Conversation
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
r? @nagisa (rust-highfive has picked a reviewer for you, use r? to override) |
What is the underlying motivation for wanting to specify a seed to |
Edited |
@bors r+ Thanks! |
📌 Commit 2af02ab has been approved by |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Dec 19, 2021
…askrgr Rollup of 7 pull requests Successful merges: - rust-lang#91834 (Update browser-ui-test version and improve rustdoc-gui tests readability) - rust-lang#91894 (Remove `in_band_lifetimes` from `rustc_incremental`) - rust-lang#91932 (Add user seed to `-Z randomize-layout`) - rust-lang#91956 (fix(rustc_lint): better detect when parens are necessary) - rust-lang#92020 (Remove P: Unpin bound on impl Stream for Pin) - rust-lang#92063 (docs: fix typo) - rust-lang#92082 (rustdoc: Write doc-comments directly instead of using FromIterator) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
53 tasks
3 tasks
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
-Zrandomize-layout
Unstable option: Randomize the layout of types.
A-layout
Area: Memory layout of types
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
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.
Allows users of -
Z randomize-layout
to provide-Z layout-seed=<seed>
in order to further randomizing type layout randomization. Extension of compiler-team/#457, allows users to change struct layouts without changing code and hoping that item path hashes change, aiding in detecting layout errors