Rollup merge of #131835 - ferrocene:amanjeev/add-missing-attribute-un… · qinheping/verify-rust-std@0ab703c (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 0ab703c
Rollup merge of rust-lang#131835 - ferrocene:amanjeev/add-missing-attribute-unwind, r=Noratrieb
Do not run test where it cannot run This was seen on Ferrocene, where we have a custom test target that does not have unwind support
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -114,6 +114,7 @@ fn lazy_type_inference() { | ||
114 | 114 | } |
115 | 115 | |
116 | 116 | #[test] |
117 | +#[cfg(panic = "unwind")] | |
117 | 118 | #[should_panic = "LazyCell instance has previously been poisoned"] |
118 | 119 | fn lazy_force_mut_panic() { |
119 | 120 | let mut lazy = LazyCell::<String>::new(| |