-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change dynamic_library::open_external to take ToCStr
`std::unstable::dynamic_library::open_external` currently takes a `Path`, but because `Paths` produce normalized strings, this can change the semantics of lookups in a given environment. This patch generalizes the function to take a `ToCStr`-bounded type, which includes both `Path`s and `str`s. Closes #11650.
- Loading branch information
Showing
1 changed file
with
23 additions
and
8 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
e71202a
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 alexcrichton
at aturon@e71202a
e71202a
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 aturon/rust/issue-11650 = e71202a into auto
e71202a
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.
aturon/rust/issue-11650 = e71202a merged ok, testing candidate = fbd8f4a
e71202a
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/5793
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5791
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/4886
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4895
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5890
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/4979
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4987
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5893
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/4978
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4984
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/5046
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2779
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/5886
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4982
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4997
e71202a
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 = fbd8f4a