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

adding base64 and to_bytes to stdlib #2798

Merged
merged 2 commits into from
Jul 4, 2012
Merged

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Jul 4, 2012

Good evening,

@graydon mentioned a while ago that base64 encoding/decoding would be a good candidate for the standard library. I also included a to_bytes iface as well, which parallels the to_str iface. Are these still appropriate? Or do you all think it'd be better to put this in a cargo crate?

@kud1ing
Copy link

kud1ing commented Jul 4, 2012

The general "rich library" discussion seems to take place in #2729

@brson
Copy link
Contributor

brson commented Jul 4, 2012

I agree with both of these. Although putting features into core that don't have an immediate use worries me a little, to_bytes does make sense in light of to_str.

brson added a commit that referenced this pull request Jul 4, 2012
adding base64 and to_bytes to stdlib
@brson brson merged commit 34660f0 into rust-lang:incoming Jul 4, 2012
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Feb 26, 2023
Get Miri working on ARM

- Add a shim for `llvm.arm.hint`, which is required by `core::hint::spin_loop` on `arm` targets. The shim simply calls `yield_active_thread` on a YIELD hint, just like the shim for `llvm.aarch64.isb` that's already present.
- Change the signature of `miri_host_to_target_path` to use `c_char` instead of `i8`, to make it compatible with `CStr` on targets where `c_char` is unsigned. The implementation of `miri_host_to_target_path` accesses the memory as bytes and does not need to be adjusted.
- Enable ARM targets in CI. Specifically, `aarch64-unknown-linux-gnu` and `arm-unknown-linux-gnueabi` on the Linux host.

Since all tests also pass for `aarch64-unknown-linux-gnu` I took the liberty of adding that target to CI as well.

Fixes rust-lang#2791
celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
Next Kani release. Also includes fixes to changelog formatting.
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.

3 participants