Don't mark DEBUG_EVENT struct as repr(packed) · model-checking/verify-rust-std@e419147 (original) (raw)
Navigation Menu
Appearance settings
- AI CODE CREATION
* GitHub CopilotWrite better code with AI
* GitHub SparkBuild and deploy intelligent apps
* GitHub ModelsManage and compare prompts
* MCP RegistryNewIntegrate external tools - DEVELOPER WORKFLOWS
* ActionsAutomate any workflow
* CodespacesInstant dev environments
* IssuesPlan and track work
* Code ReviewManage code changes - APPLICATION SECURITY
* GitHub Advanced SecurityFind and fix vulnerabilities
* Code securitySecure your code as you build
* Secret protectionStop leaks before they start - EXPLORE
* Why GitHub
* Documentation
* Blog
* Changelog
* Marketplace
- AI CODE CREATION
- BY COMPANY SIZE
* Enterprises
* Small and medium teams
* Startups
* Nonprofits - BY USE CASE
* App Modernization
* DevSecOps
* DevOps
* CI/CD
* View all use cases - BY INDUSTRY
* Healthcare
* Financial services
* Manufacturing
* Government
* View all industries
- BY COMPANY SIZE
- EXPLORE BY TOPIC
* AI
* Software Development
* DevOps
* Security
* View all topics - EXPLORE BY TYPE
* Customer stories
* Events & webinars
* Ebooks & reports
* Business insights
* GitHub Skills - SUPPORT & SERVICES
* Documentation
* Customer support
* Community forum
* Trust center
* Partners
- EXPLORE BY TOPIC
- COMMUNITY
* GitHub SponsorsFund open source developers - PROGRAMS
* Security Lab
* Maintainer Community
* Accelerator
* Archive Program - REPOSITORIES
* Topics
* Trending
* Collections
- COMMUNITY
- Pricing
Provide feedback
We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
model-checking / verify-rust-std Public
forked from rust-lang/rust
Notifications You must be signed in to change notification settings
Additional navigation options
Commit e419147
committed
Don't mark DEBUG_EVENT struct as repr(packed)
That would give it alignment of 1 which is ABI-incompatible with its C definition.
1 parent 4552576 commit e419147
File tree
1 file changed
1
-
1
lines changed
- std/src/process
1 file changed
1
-
1
lines changed
std/src/process/tests.rs
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -386,7 +386,7 @@ fn test_interior_nul_in_env_value_is_error() { | ||
| 386 | 386 | fn test_creation_flags() { |
| 387 | 387 | use crate::os::windows::process::CommandExt; |
| 388 | 388 | use crate::sys::c::{BOOL, DWORD, INFINITE}; |
| 389 | -#[repr(C, packed)] | |
| 389 | +#[repr(C)] | |
| 390 | 390 | struct DEBUG_EVENT { |
| 391 | 391 | pub event_code: DWORD, |
| 392 | 392 | pub process_id: DWORD, |
0 commit comments
Comments
(0)