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

WIP: refactor(hal): migrate from cstr_from_bytes_until_nul to CStr::from_bytes_until_nul #3939

Conversation

ErichDonGubler
Copy link
Member

Not mergeable until:

  • MSRV is Rust 1.69.
  • We figure out what to do with type c_char = i8.

Checklist

  • Run cargo clippy.
  • Run cargo clippy --target wasm32-unknown-unknown if applicable.
  • Add change to CHANGELOG.md. See simple instructions inside file.

Connections
Link to the issues addressed by this PR, or dependent PRs in other repositories

N/A

Description
Describe what problem this is solving, and how it's solved.

See removed code commentary about API we're migrating to.

Testing
Explain how this change is tested.

If CI passes, then I have enough confidence to ship this.

@ErichDonGubler ErichDonGubler force-pushed the cstr-from_bytes_until_nul branch 2 times, most recently from 4dc8812 to 0513b7a Compare July 19, 2023 20:23
…::from_bytes_until_nul`

Not mergeable until MSRV is Rust 1.69.
@cwfitzgerald
Copy link
Member

As firefox's MSRV hasn't been bumped in a while, and this is a very minor change, I'm going to close this for triage purposes. If firefox ever is bumped, we can re-open this, as the changes otherwise look good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants