- On M1 Max 64GB it takes north of 40 minutes to compile this code. M3 Pro: 25 minutes.
- The culprit is the
Option<String>
type. If you replace it with justString
(andNone
withString::from("some unique string")
) it compiles in seconds. degenerator.py
generates code forbug.rs
so you can play with number of fields, etc.
-
Notifications
You must be signed in to change notification settings - Fork 0
kika/rust-apple-silicon-bug
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Exceedingly long compilation time on Apple Silicon
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published