Commit Graph

252 Commits

Author SHA1 Message Date
David Tolnay 503e511d1f Merge pull request #43 from dtolnay/miri
Rename miri flag miri-track-raw-pointers -> miri-tag-raw-pointers
2021-12-10 23:14:47 -08:00
David Tolnay fc12a0a069 Rename miri flag miri-track-raw-pointers -> miri-tag-raw-pointers 2021-12-10 23:08:57 -08:00
David Tolnay 023ac60e37 Release 1.0.7 2021-12-10 18:45:18 -08:00
David Tolnay 8a21007a98 Merge pull request #42 from dtolnay/small
Add coverage of --features=small on stable/beta/nightly
2021-12-10 18:40:23 -08:00
David Tolnay 0b31fb8319 Add coverage of --features=small on stable/beta/nightly 2021-12-10 18:34:40 -08:00
David Tolnay eec7ef79fb Merge pull request #41 from dtolnay/uninit
Raise required rustc from 1.31 to 1.36
2021-12-10 18:31:49 -08:00
David Tolnay 1af098f3fe Raise required rustc from 1.31 to 1.36 2021-12-10 18:06:04 -08:00
David Tolnay a41ed2b91d Merge pull request #40 from dtolnay/128fallback
Delete non-u128 fallback
2021-12-10 15:31:21 -08:00
David Tolnay 3a3945c8f4 Delete non-u128 fallback 2021-12-10 15:27:14 -08:00
David Tolnay b57e6961eb Merge pull request #39 from dtolnay/emscripten128
Enable u128 codepath for Emscripten targets on rust 1.40+
2021-12-10 15:25:29 -08:00
David Tolnay 5a1d3b8621 Enable u128 codepath for Emscripten targets on rust 1.40+ 2021-12-10 15:19:59 -08:00
David Tolnay 0330be210c Merge pull request #38 from 5225225/track-raw-ptrs-ci
Track raw pointers in miri CI run
2021-11-28 11:59:36 -08:00
5225225 ba02e3e449 Track raw pointers in miri CI run 2021-11-28 19:48:45 +00:00
David Tolnay 62f7e2d633 Release 1.0.6 2021-11-28 11:32:00 -08:00
David Tolnay 8de2ecbc19 Merge pull request #37 from saethlin/master
Fix stacked borrows violation(s) found with -Zmiri-track-raw-pointers
2021-11-28 11:30:21 -08:00
Ben Kimock 8ea38413d2 Fix stacked borrows violation(s)
With MIRIFLAGS=-Zmiri-track-raw-pointers, miri detects a violation of
stacked borrows because slice::get_unchecked produces a pointer which only has
provenance over the single element at that index, but
copy_nonoverlapping was used to copy that element and the one after it.
The new implementation uses .as_ptr() which returns a pointer that has
provenance over the whole buffer.
2021-11-28 13:58:13 -05:00
David Tolnay c6e428a044 Install newest build of cargo-outdated
The old version available by default in the GitHub Actions image fails
with:

    thread 'main' panicked at 'package cache lock is not currently held, Cargo forgot to call `acquire_package_cache_lock` before we got to this stack frame', /usr/share/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.57.0/src/cargo/util/config/mod.rs:1542:9
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2021-11-17 13:26:47 -08:00
David Tolnay daee1df376 Add actions job to notice outdated dependencies 2021-10-08 02:01:14 -04:00
David Tolnay 4d6c39d2eb Declare minimum Rust version in Cargo metadata 2021-10-02 02:10:25 -04:00
David Tolnay 5c4342d293 Run clippy on test suite too 2021-09-30 02:58:39 -04:00
David Tolnay 0e7513177a Skip clippy job on pull requests 2021-09-18 16:35:37 -07:00
David Tolnay 816dd99a46 Update test suite to rand 0.8 2021-07-17 17:00:29 -07:00
David Tolnay c2776a988a Ignore new missing_panics_doc pedantic clippy lint 2021-02-03 20:12:19 -08:00
David Tolnay 6111687839 Fix catching clippy warnings as CI failures 2021-01-04 23:50:17 -08:00
David Tolnay cefe534149 Inform clippy of supported compiler version in clippy.toml 2020-12-31 01:27:09 -08:00
David Tolnay 6f3caf7661 Opt in to pedantic clippy lints 2020-12-31 01:19:39 -08:00
David Tolnay c1f3b6c8d8 Update to tool attrs 2020-12-31 01:17:48 -08:00
David Tolnay d41a395d20 Run clippy linter in CI 2020-12-31 01:16:38 -08:00
David Tolnay ee03e0b34a Resolve redundant_field_names clippy lint 2020-12-31 01:16:27 -08:00
David Tolnay 08ef5613ac Resolve redundant_static_lifetimes clippy lint 2020-12-31 01:16:02 -08:00
David Tolnay aee449e027 Sync to ulfjack/ryu@abf76d2 2020-10-01 23:11:50 -07:00
David Tolnay 680cbb6b3e Sync to ulfjack/ryu@b38c7cc 2020-10-01 23:11:50 -07:00
David Tolnay 4df292fe32 Sync to ulfjack/ryu@5fcc341 2020-10-01 23:11:50 -07:00
David Tolnay ef5a29ea40 Sync to ulfjack/ryu@264eb84 2020-10-01 23:11:50 -07:00
David Tolnay fe33664edc Sync to ulfjack/ryu@0885826 2020-10-01 23:11:50 -07:00
David Tolnay db2e722d61 Merge pull request 34 from pheki/update-upstream-bench 2020-10-01 23:04:37 -07:00
David Tolnay 2b3cdeb354 Merge pull request #33 from pheki/remove-miri-setup
Remove unneded setup instruction for miri
2020-10-01 22:35:18 -07:00
Aphek 88c0607e0d Update upstream benchmark instructions 2020-10-02 02:09:19 -03:00
David Tolnay 9b9b50782c Merge pull request #32 from pheki/reduce-unsafe
Improve safety by removing transmutes and making deubug_asserts more strict
2020-10-01 21:59:32 -07:00
Aphek 1b67df1622 Remove unneded setup instruction for miri 2020-10-02 01:57:23 -03:00
Aphek aa0cc9c4c7 Fix debug_asserts that are not strict enough 2020-10-02 01:53:38 -03:00
Aphek 3872230fdb Use float to_bits instead of transmuting to unsigned integer 2020-10-02 01:53:29 -03:00
David Tolnay 3dbb238ea4 Release 1.0.5 2020-05-31 10:04:10 -07:00
David Tolnay bdf3b50bf3 Sync to ulfjack/ryu@1c413e1 2020-05-30 20:55:32 -07:00
David Tolnay f1b7943dc8 Wrap parser comments 2020-05-30 20:44:05 -07:00
David Tolnay 6a092c46dd Format with rustfmt 2020-04-21 2020-05-30 20:35:33 -07:00
David Tolnay 6f076a3dae Apply no_panic to s2d 2020-05-30 20:34:27 -07:00
David Tolnay 11dcd2c72d Add Display impl for parse error enum 2020-05-30 20:20:58 -07:00
David Tolnay a220c31e22 Move parse error enum to new module 2020-05-30 20:19:23 -07:00
David Tolnay 51141482b9 Require d2s full tables for s2d 2020-05-30 20:15:39 -07:00