Skip to content

Commit

Permalink
Use trimmed down deserialization impl for config
Browse files Browse the repository at this point in the history
This reduces binary size from 10.1MiB (6.2MiB for just rustbuild code)
to 9.7MiB (5.8MiB for just rustbuild code).

This also reduces compile time from ~6.1s for incr recompilation to ~5.6s.

There is still a lot of
unnecessary code due to the toml crate monomorphizing every
deserialization impl 5 times.
  • Loading branch information
bjorn3 committed Mar 13, 2022
1 parent 88609e5 commit a0b4d21
Showing 1 changed file with 237 additions and 146 deletions.

0 comments on commit a0b4d21

Please sign in to comment.