Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bytecodealliance/cap-std
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: bytecodealliance/cap-std
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 47 files changed
  • 1 contributor

Commits on Mar 16, 2023

  1. Use NtCreateFile to implement open_unchecked on Windows. (#293)

    Windows' `NtCreateFile` has an ability to take a directory and a
    relative path, so use that to implement `open_unchecked` instead of
    using path concatenation.
    
    We still use concatenation for other functions, but this is the first
    step to rewriting those to avoid it.
    
    Fixes #226.
    sunfishcode committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    245e84d View commit details
    Browse the repository at this point in the history
  2. Use the NtCreateFile path for implementing stat on Windows. (#295)

    Always use `open_unchecked` with no access for implementing `stat` on Windows,
    as that now uses the new `NtCreateFile` path.
    sunfishcode committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    e001668 View commit details
    Browse the repository at this point in the history
  3. Give ambient authority arguments names. (#298)

    Use `let _ = ambient_authority;` to suppress unused argument warnings
    rather than naming arguments `_`, because argument names show up in the
    documentation, and the fact that these arguments are unused is not part
    of the public interface.
    sunfishcode committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    98affb2 View commit details
    Browse the repository at this point in the history
  4. Add a Pool::insert_ip_net_any_port function. (#299)

    * Add a `Pool::insert_ip_net_any_port` function.
    
    Add a function to `Pool` to allow inserting a network that can accept
    any port.
    
    * Add support for port ranges, and add some unit tests.
    sunfishcode committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    fd1afe0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2a4e026 View commit details
    Browse the repository at this point in the history
  6. chore: Release

    sunfishcode committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    6684aa1 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2023

  1. Use RUSTC_WRAPPER instead of CARGO_RUSTC_WRAPPER. (#303) (#304)

    Similar to dtolnay/anyhow#248, and as suggested [here], check `RUSTC_WRAPPER` instead of `CARGO_RUSTC_WRAPPER`.
    
    [here]: bytecodealliance/rustix#544 (comment)
    sunfishcode authored Mar 18, 2023
    Configuration menu
    Copy the full SHA
    9a6f137 View commit details
    Browse the repository at this point in the history
  2. chore: Release

    sunfishcode committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    946ffef View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Configuration menu
    Copy the full SHA
    2562c95 View commit details
    Browse the repository at this point in the history
  2. Add a File::create_ambient function.

    `File::create_ambient` is to `File::open_ambient` as `std::fs::File::create` is
    to `std::fs::File::open`.
    sunfishcode committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    1ee5281 View commit details
    Browse the repository at this point in the history
  3. Update CI to Ubuntu 20.04.

    Ubuntu 18.04 is no longer supported on Github actions.
    sunfishcode committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    f2e65b9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7d379e9 View commit details
    Browse the repository at this point in the history
  5. chore: Release

    sunfishcode committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    f4232c5 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2023

  1. Update to rustix 0.37. (#297)

    The only code change here is due to `copy_file_range`'s `len` argument
    changing from `u64` to `usize`.
    sunfishcode committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    6cea7d0 View commit details
    Browse the repository at this point in the history
  2. chore: Release

    sunfishcode committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    9e6e17e View commit details
    Browse the repository at this point in the history
Loading