-
-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref: Privatize top-level modules and delete dead code (#1992)
Since the CLI is only published as a binary, and not as a library, there is no reason for the top-level modules to be public. So, this PR makes them private. After making them private, the Rust compiler warned of several parts of the code that were unused. So, this PR removes all the dead code noticed by the compiler. The Rust compiler also warned of some code that was unused in Linux and Windows (but they are still used in the macOS binary), this PR adds #[cfg(target_os = "macos")] directives as needed to ensure this code is only compiled for the macOS platform
- Loading branch information
1 parent
63a515d
commit 14ff75a
Showing
13 changed files
with
37 additions
and
299 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
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.