Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Cpp2Rust
cpp2rust
Repository navigation
Code
Issues
8
(8)
Pull requests
4
(4)
Actions
Security and quality
Insights
More
items
Translate unions in unsafe
- #32
#32
Merged
nunoplopes
merged 19 commits into
Cpp2Rust:master
Cpp2Rust/cpp2rust:master
from
lucic71:union-unsafe
lucic71/cpp2rust:union-unsafe
Copy head branch name to clipboard
Apr 28, 2026
Conversation
Commits
19
(19)
Checks
Files changed
Merged
Translate unions in unsafe
#32
nunoplopes
merged 19 commits into
Cpp2Rust:master
Cpp2Rust/cpp2rust:master
from
lucic71:union-unsafe
lucic71/cpp2rust:union-unsafe
Copy head branch name to clipboard
Commits
Commits on Apr 28, 2026
Handle anonymous structs inside records
lucic71
committed
13140c9
View commit details
Copy full SHA for 13140c9
Browse repository at this point
Fix build
lucic71
committed
796a454
View commit details
Copy full SHA for 796a454
Browse repository at this point
Add anonymous struct tests
lucic71
committed
f862791
View commit details
Copy full SHA for f862791
Browse repository at this point
Update tests
lucic71
committed
d6f7748
View commit details
Copy full SHA for d6f7748
Browse repository at this point
Update expected output
lucic71
committed
d84745a
View commit details
Copy full SHA for d84745a
Browse repository at this point
Translate unsafe unions
Show description for 59548ad
lucic71
committed
59548ad
View commit details
Copy full SHA for 59548ad
Browse repository at this point
Change test expectations
lucic71
committed
f459d05
View commit details
Copy full SHA for f459d05
Browse repository at this point
Update union generated files
lucic71
committed
c0e2a74
View commit details
Copy full SHA for c0e2a74
Browse repository at this point
Add repr(C) to all transalted unsafe structs
lucic71
committed
f60879d
View commit details
Copy full SHA for f60879d
Browse repository at this point
Handle anonymous structs inside records
lucic71
committed
97a00fa
View commit details
Copy full SHA for 97a00fa
Browse repository at this point
Update tests
lucic71
committed
4f55f7d
View commit details
Copy full SHA for 4f55f7d
Browse repository at this point
Delete duplicate function definition
lucic71
committed
6e1b596
View commit details
Copy full SHA for 6e1b596
Browse repository at this point
Update test expectations
lucic71
committed
6db97be
View commit details
Copy full SHA for 6db97be
Browse repository at this point
Delete no-compile files
lucic71
committed
d1db80b
View commit details
Copy full SHA for d1db80b
Browse repository at this point
Don't overwrite memset definition on macOS
lucic71
committed
492e703
View commit details
Copy full SHA for 492e703
Browse repository at this point
Fix call of GetUserDefinedDefaultConstructor
lucic71
committed
243b4a5
View commit details
Copy full SHA for 243b4a5
Browse repository at this point
clang-format
lucic71
committed
906ea4e
View commit details
Copy full SHA for 906ea4e
Browse repository at this point
Update tests
lucic71
committed
fe80784
View commit details
Copy full SHA for fe80784
Browse repository at this point
Generate unsafe Default impl for union only in unsafe model
lucic71
committed
b074d3e
View commit details
Copy full SHA for b074d3e
Browse repository at this point
You can’t perform that action at this time.