-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std: Extract format string parsing out of libstd
This code does not belong in libstd, and rather belongs in a dedicated crate. In the future, the syntax::ext::format module should move to the fmt_macros crate (hence the name of the crate), but for now the fmt_macros crate will only contain the format string parser. The entire fmt_macros crate is marked #[experimental] because it is not meant for general consumption, only the format!() interface is officially supported, not the internals. This is a breaking change for anyone using the internals of std::fmt::parse. Some of the flags have moved to std::fmt::rt, while the actual parsing support has all moved to the fmt_macros library. [breaking-change]
- Loading branch information
1 parent
87115fd
commit 80487dd
Showing
6 changed files
with
100 additions
and
48 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 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
80487dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from brson
at alexcrichton@80487dd
80487dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/libfmt = 80487dd into auto
80487dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/libfmt = 80487dd merged ok, testing candidate = d8781b3
80487dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5657
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5655
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/4748
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4759
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5755
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/4843
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4851
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5757
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/4842
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4848
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/4910
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2644
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/5750
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4846
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4861
80487dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = d8781b3