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

compiletest: load supported sanitizers from target spec #115695

Merged
merged 4 commits into from
Sep 23, 2023

Conversation

tmiasko
Copy link
Contributor

@tmiasko tmiasko commented Sep 9, 2023

No description provided.

@rustbot
Copy link
Collaborator

rustbot commented Sep 9, 2023

r? @oli-obk

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Sep 9, 2023
@rust-log-analyzer

This comment has been minimized.

@tmiasko tmiasko force-pushed the compiletest-supported-sanitizers branch from ee54cfc to a6cbb5c Compare September 9, 2023 06:25
@tmiasko tmiasko force-pushed the compiletest-supported-sanitizers branch 2 times, most recently from dd69dc8 to 7f85c99 Compare September 10, 2023 11:48
Copy link
Contributor

@oli-obk oli-obk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

Comment on lines +68 to +101
fn channel(&mut self, s: &str) -> &mut Self {
self.channel = Some(s.to_owned());
self
}

fn host(&mut self, s: &str) -> &mut Self {
self.host = Some(s.to_owned());
self
}

fn target(&mut self, s: &str) -> &mut Self {
self.target = Some(s.to_owned());
self
}

fn stage_id(&mut self, s: &str) -> &mut Self {
self.stage_id = Some(s.to_owned());
self
}

fn llvm_version(&mut self, s: &str) -> &mut Self {
self.llvm_version = Some(s.to_owned());
self
}

fn git_hash(&mut self, b: bool) -> &mut Self {
self.git_hash = b;
self
}

fn system_llvm(&mut self, s: bool) -> &mut Self {
self.system_llvm = s;
self
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could derive all these similarly to how I did it in https://github.com/rust-lang/rust/pull/114104/files

@bors
Copy link
Contributor

bors commented Sep 19, 2023

☔ The latest upstream changes (presumably #115644) made this pull request unmergeable. Please resolve the merge conflicts.

@tmiasko tmiasko force-pushed the compiletest-supported-sanitizers branch from 7f85c99 to 34c248d Compare September 21, 2023 13:08
@oli-obk
Copy link
Contributor

oli-obk commented Sep 21, 2023

@bors r+

@bors
Copy link
Contributor

bors commented Sep 21, 2023

📌 Commit 34c248d has been approved by oli-obk

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 Sep 21, 2023
@bors
Copy link
Contributor

bors commented Sep 21, 2023

⌛ Testing commit 34c248d with merge 77fc4bf...

bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 21, 2023
…zers, r=oli-obk

compiletest: load supported sanitizers from target spec
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Sep 21, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 21, 2023
@oli-obk
Copy link
Contributor

oli-obk commented Sep 22, 2023

@bors r+

@bors
Copy link
Contributor

bors commented Sep 22, 2023

📌 Commit c4c4766 has been approved by oli-obk

It is now in the queue for this repository.

@bors bors removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 22, 2023
@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Sep 22, 2023
@bors
Copy link
Contributor

bors commented Sep 22, 2023

⌛ Testing commit c4c4766 with merge 4b8b80e...

bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 22, 2023
…zers, r=oli-obk

compiletest: load supported sanitizers from target spec
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Sep 22, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 22, 2023
@tmiasko tmiasko force-pushed the compiletest-supported-sanitizers branch from c4c4766 to a145a61 Compare September 22, 2023 16:01
@tmiasko tmiasko force-pushed the compiletest-supported-sanitizers branch from a145a61 to 9090ed8 Compare September 22, 2023 16:13
@tmiasko
Copy link
Contributor Author

tmiasko commented Sep 22, 2023

Updated a few more codgen tests.

@bors r=oli-obk

@bors
Copy link
Contributor

bors commented Sep 22, 2023

📌 Commit 9090ed8 has been approved by oli-obk

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 Sep 22, 2023
@bors
Copy link
Contributor

bors commented Sep 22, 2023

⌛ Testing commit 9090ed8 with merge 5dfdad5...

bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 22, 2023
…zers, r=oli-obk

compiletest: load supported sanitizers from target spec
@bors
Copy link
Contributor

bors commented Sep 22, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 22, 2023
@rust-log-analyzer
Copy link
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@tmiasko
Copy link
Contributor Author

tmiasko commented Sep 22, 2023

@bors retry failed without logs

@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 Sep 22, 2023
@bors
Copy link
Contributor

bors commented Sep 23, 2023

⌛ Testing commit 9090ed8 with merge 55b5c7b...

@bors
Copy link
Contributor

bors commented Sep 23, 2023

☀️ Test successful - checks-actions
Approved by: oli-obk
Pushing 55b5c7b to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 23, 2023
@bors bors merged commit 55b5c7b into rust-lang:master Sep 23, 2023
12 checks passed
@rustbot rustbot added this to the 1.74.0 milestone Sep 23, 2023
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (55b5c7b): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.3% [-0.3%, -0.3%] 1
Improvements ✅
(secondary)
-0.6% [-0.8%, -0.5%] 6
All ❌✅ (primary) -0.3% [-0.3%, -0.3%] 1

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
3.0% [2.8%, 3.2%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 634.258s -> 634.016s (-0.04%)
Artifact size: 317.45 MiB -> 317.53 MiB (0.02%)

@tmiasko tmiasko deleted the compiletest-supported-sanitizers branch September 23, 2023 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants