Commit Graph

308 Commits

Author SHA1 Message Date
openharmony_ci 1e9369c111 !4 OAT告警屏蔽配置更新
Merge pull request !4 from peizhe/master
OpenHarmony-v4.0-Beta2
2023-05-16 09:33:31 +00:00
peizhe e62f881e69 oat告警屏蔽配置
Signed-off-by: peizhe <zhaipeizhe@huawei.com>
2023-05-16 15:56:48 +08:00
openharmony_ci 3162d14f8c !3 告警与遗留问题文件补充
Merge pull request !3 from peizhe/master
2023-05-09 11:13:40 +00:00
peizhe 75949cec9e 告警与遗留问题文件补充
Signed-off-by: peizhe <zhaipeizhe@huawei.com>
2023-05-08 19:10:04 +08:00
openharmony_ci 56b6706eb9 !2 CI OAT 告警清零与README.OpenSource 中License信息整改
Merge pull request !2 from peizhe/master
2023-05-04 06:59:12 +00:00
peizhe b7c566bea8 CI OAT 告警清零与README.OpenSource 中License信息整改
Signed-off-by: peizhe <zhaipeizhe@huawei.com>
2023-04-28 14:34:53 +08:00
openharmony_ci 81270a58bd !1 [ryu]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
Merge pull request !1 from peizhe/master
2023-04-19 01:28:40 +00:00
peizhe b479628f48 Add GN Build Files and Custom Modifications
Signed-off-by: peizhe <472708703@qq.com>
2023-04-18 16:49:28 +08:00
David Tolnay c275beb57a Release 1.0.13 github.com/dtolnay/ryu/refs/tags/1.0.13 2023-03-03 15:23:54 -08:00
David Tolnay 886a8e1e24 Enable type layout randomization in CI on nightly 2023-02-19 09:21:58 -08:00
David Tolnay 321036c6b7 Support a manual trigger on CI workflow 2023-02-18 17:23:56 -08:00
David Tolnay ef942fd2c7 Prevent actions duplication on noop merge commits 2023-02-01 17:55:24 -08:00
David Tolnay 35ba6e67b2 Speed up cargo fuzz CI job
https://github.com/rust-fuzz/cargo-fuzz/pull/317
2023-01-19 17:28:30 -08:00
David Tolnay 1f8747d4fd Opt out -Zrustdoc-scrape-examples on docs.rs
I'd like a chance to audit all the code that rustdoc is inserting into
the docs. Currently I am skeptical that showing ryu's internal usages
of APIs is a net benefit to the public documentation. I am also
skeptical that quite so many examples are needed, and that they should
be featured so prominently in comparison to handwritten docs. Lastly I
wish there were a way to turn this behavior off on a more granular
basis.
2023-01-02 21:44:33 -08:00
David Tolnay 95f1ed8b7a Sync license text with rust-lang repos 2022-12-30 12:00:50 -08:00
David Tolnay 0c6d5f60fc Release 1.0.12 2022-12-17 11:43:57 -08:00
David Tolnay 55da97fdee Update build status badge 2022-12-15 17:52:42 -08:00
David Tolnay f5be563c48 Time out workflows after 45 minutes
GitHub's default timeout is 6 hours. Recently some of my GitHub Actions
jobs have started randomly stalling for that long, which is inconvenient
because it ties up a chunk of my runner quota. It apepars to be very
rare for a job to recover after stalling. It's better to time out
quicker and retry on a different runner.
2022-11-25 03:51:41 -08:00
David Tolnay 3bb780b0ae Add a funding file 2022-11-25 03:44:02 -08:00
David Tolnay 48f3afb6ac Resolve unnecessary_cast clippy lint
error: casting to the same type is unnecessary (`u32` -> `u32`)
      --> src/pretty/mantissa.rs:46:17
       |
    46 |         let c = (output - 10_000 * (output / 10_000)) as u32;
       |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(output - 10_000 * (output / 10_000))`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
       = note: `-D clippy::unnecessary-cast` implied by `-D clippy::all`

    error: casting to the same type is unnecessary (`u32` -> `u32`)
      --> src/pretty/mantissa.rs:63:17
       |
    63 |         let c = ((output % 100) << 1) as u32;
       |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `((output % 100) << 1)`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast

    error: casting to the same type is unnecessary (`u32` -> `u32`)
      --> src/pretty/mantissa.rs:73:17
       |
    73 |         let c = (output << 1) as u32;
       |                 ^^^^^^^^^^^^^^^^^^^^ help: try: `(output << 1)`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast

    error: casting to the same type is unnecessary (`u32` -> `u32`)
       --> src/pretty/mod.rs:164:9
        |
    164 |         ((bits >> FLOAT_MANTISSA_BITS) & ((1u32 << FLOAT_EXPONENT_BITS) - 1)) as u32;
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `((bits >> FLOAT_MANTISSA_BITS) & ((1u32 << FLOAT_EXPONENT_BITS) - 1))`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast

    error: casting to the same type is unnecessary (`u32` -> `u32`)
       --> src/s2f.rs:223:68
        |
    223 |     let ieee = ((((signed_m as u32) << f2s::FLOAT_EXPONENT_BITS) | ieee_e2 as u32)
        |                                                                    ^^^^^^^^^^^^^^ help: try: `ieee_e2`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
        = note: `-D clippy::unnecessary-cast` implied by `-D clippy::all`
2022-10-07 22:15:19 -07:00
David Tolnay ee53dc9874 Remove default package.readme metadata from Cargo.toml
Since cargo 1.46.0, README.md is recognized by default.
2022-09-14 09:16:00 -07:00
David Tolnay 1fd9d37d8d GitHub Workflows security hardening 2022-09-02 15:09:31 -07:00
David Tolnay ca9bc4f741 Release 1.0.11 2022-08-02 18:19:53 -07:00
David Tolnay ccafc0b0bd Update keywords in crates.io metadata 2022-08-02 10:38:56 -07:00
David Tolnay 9470700a76 Add no-std category to crates.io metadata 2022-08-01 00:14:11 -07:00
David Tolnay e7db86f6a2 Add authors to Cargo.toml 2022-07-31 19:25:46 -07:00
David Tolnay 74a01e62c5 Sort package entries in Cargo.toml 2022-07-31 19:19:05 -07:00
David Tolnay 47ccc57ab9 Use upstreamed docs.rs icon in docs.rs badge 2022-06-11 10:17:10 -07:00
David Tolnay 0dafd83458 Check for outdated deps in fuzz target 2022-06-06 17:03:42 -07:00
David Tolnay 0879bb7bc8 Check all crates in workspace for outdated deps 2022-06-06 14:39:24 -07:00
David Tolnay 9d6e05631c Release 1.0.10 2022-05-15 14:30:30 -07:00
David Tolnay 2a35f85228 Add CI job to compile fuzz target 2022-05-15 14:29:05 -07:00
David Tolnay 249d213d31 Assert formatted float parses back to the same value 2022-05-15 14:28:17 -07:00
David Tolnay 49896436fd Assert size of string in fuzz target 2022-05-15 14:22:52 -07:00
David Tolnay 3702a9f809 Format a single float per fuzz call 2022-05-15 14:22:16 -07:00
David Tolnay efadf15080 Remove unneeded Clone impls from fuzz target 2022-05-15 14:18:32 -07:00
David Tolnay 4feccb874f Depend on arbitrary crate directly 2022-05-15 14:18:10 -07:00
David Tolnay c3cd47b5ca Copy cargo-fuzz generated gitignore 2022-05-15 14:17:18 -07:00
David Tolnay af8b83486c Touch up PR 45 manifest 2022-05-15 14:16:52 -07:00
David Tolnay 348702f29c Fix crate name of fuzz target crate 2022-05-15 14:16:14 -07:00
David Tolnay 1939af822f Merge pull request #45 from adetaylor/fuzz
Add a fuzzer.
2022-05-15 14:13:39 -07:00
David Tolnay b3aebe391b Run miri in stricter miri-strict-provenance mode 2022-05-06 04:01:34 -07:00
David Tolnay fb4ca10c8f Drop unneeded quoting from env variable in workflows yaml 2022-04-28 19:29:11 -07:00
David Tolnay 0d7a07d919 Update workflows to actions/checkout@v3 2022-04-25 01:39:03 -07:00
David Tolnay 99f1abd85a Pull miri from miri branch of dtolnay/rust-toolchain 2022-04-24 15:46:05 -07:00
Adrian Taylor b48d129855 Add a fuzzer. 2022-03-04 13:53:32 -08:00
David Tolnay 08cbb37b06 Detect warnings in CI 2021-12-31 22:07:18 -08:00
David Tolnay a0434abc75 Change test suite atomic from SeqCst to Relaxed
These atomics are not synchronizing anything outside of their own value,
so we don't need the Acquire/Release guarantee that all memory
operations prior to the store are visible after the subsequent load, nor
the SeqCst guarantee of all threads seeing all of the sequentially
consistent operations in the same order.
2021-12-23 10:59:07 -08:00
David Tolnay 1ee2c05de5 Run clippy on benches as well 2021-12-12 13:58:16 -08:00
David Tolnay fad77e7746 Release 1.0.9 2021-12-12 12:50:38 -08:00