-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
routing: ensure disabled protocols are not compiled
Previously, building holod with --no-default-features resulted in the same binary size as when all features were enabled. The issue was due to holo-routing not properly handling disabled features, unlike holo-daemon. This commit fixes that problem. Now, in the release profile, the binary size of holod on my machine is 14MB with --no-default-features, compared to 22MB for a full build. Signed-off-by: Renato Westphal <[email protected]>
- Loading branch information
Showing
3 changed files
with
141 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters