| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-04-11 | fix Layout struct member naming style | liangyongrui | -4/+4 | |
| 2022-04-08 | Make non-power-of-two alignments a validity error in `Layout` | Scott McMurray | -9/+36 | |
| Inspired by the zulip conversation about how `Layout` should better enforce `size < isize::MAX as usize`, this uses an N-variant enum on N-bit platforms to require at the validity level that the existing invariant of "must be a power of two" is upheld. This was MIRI can catch it, and means there's a more-specific type for `Layout` to store than just `NonZeroUsize`. | ||||
| 2021-06-13 | update tests involving CTFE validation | Rémy Rakic | -2/+2 | |
| 2021-03-31 | Add 32bit.stderr files. | Hameer Abbasi | -0/+14 | |
| 2021-03-31 | Rename stderr->64bit.stderr where needed. | Hameer Abbasi | -1/+2 | |
| 2021-03-31 | Add allocation information to undefined behaviour errors. | Hameer Abbasi | -0/+3 | |
| 2021-01-01 | Enhance some comments | oli | -9/+14 | |
| 2021-01-01 | Fix cell checks in const fn | oli | -0/+2 | |
| 2021-01-01 | Allow references to interior mutable data behind a feature gate | oli | -10/+30 | |
| 2020-11-26 | Move const ip in ui test to unit test | Daiki Ihara | -13/+0 | |
| 2020-11-23 | Stabilize `IpAddr::is_ipv4` and `is_ipv6` as const | Christiaan Dirkx | -0/+13 | |
| Insta-stabilize the methods `is_ipv4` and `is_ipv6` of `IpAddr`. Possible because of the recent stabilization of const control flow. Also adds a test for these methods in a const context. | ||||
| 2020-09-03 | Make `Ipv4Addr` and `Ipv6Addr` const tests unit tests under `library` | Christiaan Dirkx | -111/+0 | |
| These tests are about the standard library, not the compiler itself, thus should live in `library`, see #76268. | ||||
| 2020-09-03 | Rollup merge of #76142 - CDirkx:const-ip, r=ecstatic-morse | Dylan DPC | -0/+58 | |
| Make all methods of `std::net::Ipv4Addr` const Make the following methods of `std::net::Ipv4Addr` unstable const under the `const_ipv4` feature: - `octets` - `is_loopback` - `is_private` - `is_link_local` - `is_global` (unstable) - `is_shared` (unstable) - `is_ietf_protocol_assignment` (unstable) - `is_benchmarking` (unstable) - `is_reserved` (unstable) - `is_multicast` - `is_broadcast` - `is_documentation` - `to_ipv6_compatible` - `to_ipv6_mapped` This would make all methods of `Ipv6Addr` const. Of these methods, `is_global`, `is_broadcast`, `to_ipv6_compatible`, and `to_ipv6_mapped` require a change in implementation. Part of #76205 | ||||
| 2020-09-01 | Make all remaining methods of `std::net::Ipv4Addr` const | Christiaan Dirkx | -1/+18 | |
| Makes the following methods of `std::net::Ipv4Addr` unstable const under the `const_ipv4` feature: - `is_global` - `is_reserved` - `is_broadcast` - `to_ipv6_compatible` - `to_ipv6_mapped` This results in all methods of `Ipv4Addr` being const. Also adds tests for these methods in a const context. | ||||
| 2020-09-01 | Add test for `Ipv4Addr` methods in a const context | Christiaan Dirkx | -0/+41 | |
| 2020-09-01 | Add trailing newline to `ipv6.rs` | CDirkx | -1/+1 | |
| 2020-09-01 | Add test for `Ipv6Addr` methods in a const context | CDirkx | -0/+53 | |
| 2020-02-08 | Test `u8::is_ascii` alongside `char::is_ascii` | Dylan MacKenzie | -9/+0 | |
| 2019-09-06 | Fixed grammar/style in error messages and reblessed tests. | Alexander Regueiro | -1/+1 | |
| 2019-07-03 | Migrate compile-pass annotations to build-pass | Yuki Okushi | -1/+1 | |
| 2019-05-14 | Add ui test for const Layout::from_size_align_unchecked | Richard Wiedenhöft | -0/+21 | |
| 2018-11-10 | Tidy ♪ all ♪ the ♪ way ♪♪♪♪ with ♪ a ♪ newline ♪ missing ↵ | Oliver Scherer | -4/+4 | |
| ♪ cry ♪♪ | ||||
| 2018-11-10 | Add a few tests around raw pointers and interior mutability | Oliver Scherer | -0/+73 | |
