Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow limited access to OsStr bytes #109698

Merged
merged 6 commits into from
May 31, 2023
Merged

Allow limited access to OsStr bytes #109698

merged 6 commits into from
May 31, 2023

Commits on Mar 28, 2023

  1. Allow access to OsStr bytes

    `OsStr` has historically kept its implementation details private out of
    concern for locking us into a specific encoding on Windows.
    
    This is an alternative to rust-lang#95290 which proposed specifying the encoding on Windows.  Instead, this
    only specifies that for cross-platform code, `OsStr`'s encoding is a superset of UTF-8 and defines
    rules for safely interacting with it
    
    At minimum, this can greatly simplify the `os_str_bytes` crate and every
    arg parser that interacts with `OsStr` directly (which is most of those
    that support invalid UTF-8).
    epage committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    8d2beb5 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2023

  1. Configuration menu
    Copy the full SHA
    7f1a6cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b92903 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Configuration menu
    Copy the full SHA
    f9aaad0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d177af View commit details
    Browse the repository at this point in the history

Commits on May 20, 2023

  1. docs: Add missing period

    epage committed May 20, 2023
    Configuration menu
    Copy the full SHA
    e6a35c4 View commit details
    Browse the repository at this point in the history