Skip to content
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

Add section to sanitizer doc for -Zexternal-clangrt #123209

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

ObsidianMinor
Copy link
Contributor

After spending a week looking for answers to how to do the very thing this flag lets me do, it felt appropriate to document it where I would've expected it to be.

@rustbot
Copy link
Collaborator

rustbot commented Mar 29, 2024

r? @ehuss

rustbot has assigned @ehuss.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot
Copy link
Collaborator

rustbot commented Mar 29, 2024

Some changes occurred in src/doc/unstable-book/src/compiler-flags/sanitizer.md

cc @rust-lang/project-exploit-mitigations, @rcvalle

@rustbot rustbot added PG-exploit-mitigations Project group: Exploit mitigations S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 29, 2024
@ehuss
Copy link
Contributor

ehuss commented Mar 29, 2024

r? michaelwoerister

It's not clear to me why this wasn't documented.

@rustbot rustbot assigned michaelwoerister and unassigned ehuss Mar 29, 2024
@ObsidianMinor
Copy link
Contributor Author

cc @chriswailes as well

@rcvalle
Copy link
Member

rcvalle commented Mar 29, 2024

LGTM.

@chriswailes
Copy link
Contributor

Thanks for taking care of this. Sorry I didn't add the documentation when I landed the patch.

@ObsidianMinor
Copy link
Contributor Author

Wanted to add a small tidbit near the top with all the other flags to make sure it can't be missed.

@michaelwoerister
Copy link
Member

Thanks for the PR, @ObsidianMinor! I'm sorry, you wasted time due to the missing documentation.

Would you mind also adding an external-clangrt.md file to the compiler-flags directory for increased visibility? It can refer to sanitizer.md for the more detailed explanation.

@rust-log-analyzer

This comment has been minimized.

After spending a week looking for answers to how to do the very thing
this flag lets me do, it felt appropriate to document it where I would've
expected it to be.
@michaelwoerister
Copy link
Member

Looks great -- thanks, @ObsidianMinor!

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Apr 3, 2024

📌 Commit 382459e has been approved by michaelwoerister

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 3, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 3, 2024
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#123209 (Add section to sanitizer doc for `-Zexternal-clangrt`)
 - rust-lang#123342 (x.py test: remove no-op --skip flag)
 - rust-lang#123382 (Assert `FnDef` kind)
 - rust-lang#123386 (Set `CARGO` instead of `PATH` for Rust Clippy)
 - rust-lang#123393 (rustc_ast: Update `P<T>` docs to reflect mutable status.)
 - rust-lang#123394 (Postfix match fixes)
 - rust-lang#123412 (Output URLs of CI artifacts to GitHub summary)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 1bde86b into rust-lang:master Apr 3, 2024
11 checks passed
@rustbot rustbot added this to the 1.79.0 milestone Apr 3, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Apr 3, 2024
Rollup merge of rust-lang#123209 - ObsidianMinor:doc/external-clangrt, r=michaelwoerister

Add section to sanitizer doc for `-Zexternal-clangrt`

After spending a week looking for answers to how to do the very thing this flag lets me do, it felt appropriate to document it where I would've expected it to be.
@ObsidianMinor ObsidianMinor deleted the doc/external-clangrt branch April 3, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PG-exploit-mitigations Project group: Exploit mitigations S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants