Commit Graph

2876 Commits

Author SHA1 Message Date
David Tolnay
99eef7cc2a
Prevent actions duplication on noop merge commits 2022-12-31 12:45:32 -08:00
David Tolnay
6f745adf72
Sync license text with rust-lang repos 2022-12-30 12:00:47 -08:00
David Tolnay
5d5ac057a7
Fix warning about let_underscore_drop lint removal from clippy
warning: lint `clippy::let_underscore_drop` has been renamed to `let_underscore_drop`
      --> gen/build/src/lib.rs:59:5
       |
    59 |     clippy::let_underscore_drop,
       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `let_underscore_drop`
       |
       = note: `#[warn(renamed_and_removed_lints)]` on by default

    warning: lint `clippy::let_underscore_drop` has been renamed to `let_underscore_drop`
     --> tests/ffi/lib.rs:5:5
      |
    5 |     clippy::let_underscore_drop,
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `let_underscore_drop`
      |
      = note: `#[warn(renamed_and_removed_lints)]` on by default

    warning: lint `clippy::let_underscore_drop` has been renamed to `let_underscore_drop`
     --> tests/unique_ptr.rs:1:10
      |
    1 | #![allow(clippy::let_underscore_drop)]
      |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `let_underscore_drop`
      |
      = note: `#[warn(renamed_and_removed_lints)]` on by default
2022-12-29 18:35:56 -08:00
David Tolnay
40bb0d3779
Resolve needless_borrow clippy lint
error: the borrowed expression implements the required traits
      --> syntax/check.rs:91:25
       |
    91 |         cx.error(ident, &msg);
       |                         ^^^^ help: change this to: `msg`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
       = note: `-D clippy::needless-borrow` implied by `-D clippy::all`
2022-12-29 18:34:05 -08:00
David Tolnay
6a098de8e9
Update ui test suite to nightly-2022-12-30 2022-12-29 18:28:28 -08:00
David Tolnay
bf521e51b9
Reindeer vendor -> reindeer buckify only
This is significantly faster; <1 second instead of 26 seconds. Vendor
used to check out a whole new crates.io index using third-party/.cargo
as the CARGO_HOME.
2022-12-21 21:13:30 -08:00
David Tolnay
a1bdaa799b
Don't get what crates_vendor_remote_repository adds to workspace 2022-12-20 21:19:09 -08:00
David Tolnay
1d9d583cbc
Third-party lockfile update 2022-12-20 19:16:13 -08:00
David Tolnay
173ec012c1
Experiment with @rules_rust//crate_universe 2022-12-20 18:46:44 -08:00
David Tolnay
f5088edac4
Reindeer update 2022-12-20 14:38:26 -08:00
David Tolnay
7b581cafa3
Merge pull request #1145 from dtolnay/bazel
Update to use released version of Bazel rules_rust
2022-12-20 10:04:51 -08:00
David Tolnay
8d7f0465ef
Bazel 6.0.0 2022-12-20 09:56:17 -08:00
David Tolnay
c1479208c0
Bazel rules_rust 0.15.0 2022-12-20 09:33:04 -08:00
David Tolnay
083b019c67
Bazel rules_rust 0.14.0 2022-12-20 09:32:54 -08:00
David Tolnay
ff584c5c3a
Bazel rules_rust 0.13.0 2022-12-20 09:32:45 -08:00
David Tolnay
0f738119f2
Bazel rules_rust 0.12.0 2022-12-20 09:32:33 -08:00
David Tolnay
6aa988e4fc
Bazel rules_rust 0.11.0 2022-12-20 09:32:25 -08:00
David Tolnay
83a568993c
Bazel rules_rust 0.10.0 2022-12-20 09:32:15 -08:00
David Tolnay
9fd3ea8fa9
Bazel rules_rust 0.9.0 2022-12-20 09:32:06 -08:00
David Tolnay
1b0610d0b9
Bazel rules_rust 0.8.1 2022-12-20 09:31:53 -08:00
David Tolnay
c0ee2abfed
Bazel rules_rust 0.7.0 2022-12-20 09:31:42 -08:00
David Tolnay
b8d56ad7e1
Bazel rules_rust 0.6.0 2022-12-20 09:30:14 -08:00
David Tolnay
b912f6c973
Bazel rules_rust 0.5.0 2022-12-20 09:29:59 -08:00
David Tolnay
1596ee4c37
Bazel rules_rust 0.4.0 2022-12-20 09:25:44 -08:00
David Tolnay
8e49561ea1
Bump Bazel build to rustc 1.66.0 2022-12-20 09:17:11 -08:00
David Tolnay
3f5a4605c6
Pull in buck2 support for non-nightly rustdoc 2022-12-19 15:19:24 -08:00
David Tolnay
5b864b789e
No longer need separate linker flags for the Rust toolchain 2022-12-19 15:19:08 -08:00
David Tolnay
d5399f19aa
Fill in type annotations on Buck bzl files 2022-12-19 11:05:52 -08:00
David Tolnay
09ae2ee7b5
Release 1.0.85 2022-12-18 09:42:05 -08:00
David Tolnay
c3e17908f6
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 cxx'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.
2022-12-18 09:34:19 -08:00
David Tolnay
1ac3311fa9
Release 1.0.84 2022-12-17 10:52:16 -08:00
David Tolnay
8da631208d
Explicitly no default_edition for system Rust toolchain 2022-12-16 13:47:42 -08:00
David Tolnay
a45c4cd86d
Update build status badge 2022-12-15 17:52:39 -08:00
David Tolnay
eed38691e2
Switch to buck2's system toolchains 2022-12-15 14:41:07 -08:00
David Tolnay
49e4e65dd3
Pull buck2 prelude from buck2-prelude repo 2022-12-15 11:23:39 -08:00
David Tolnay
9a3f8d8e0f
Check reindeer-generated BUCK file in CI 2022-12-15 11:17:52 -08:00
David Tolnay
31f5b97eee
Update ui test suite to nightly-2022-12-12 2022-12-11 18:48:16 -08:00
David Tolnay
62228de09a
Pull in update of buck2 prelude 2022-12-08 18:18:37 -08:00
David Tolnay
665d913e12
Sort attributes of CxxToolchainInfo 2022-12-08 18:17:54 -08:00
David Tolnay
22d0c8e305
Explicitly no default edition during buck2 build 2022-12-06 17:24:49 -08:00
David Tolnay
29674ae7f2
Format toolchain.bzl with buildifier 2022-12-06 17:23:26 -08:00
David Tolnay
2194551012
Match c++ toolchain's declaration of runnable commands 2022-12-06 17:23:01 -08:00
David Tolnay
6dcd9971ec
Rustdoc works in buck2, but needs extern-html-root-url 2022-12-06 16:59:46 -08:00
David Tolnay
89827822ea
Buck2 now supports stable rustc 2022-12-06 16:23:25 -08:00
David Tolnay
c9d04395b3
Touch up toolchain definition 2022-12-05 13:35:09 -08:00
David Tolnay
2d337cc4d6
Wire up a buck2 failure_filter 2022-12-05 13:04:15 -08:00
David Tolnay
8bf38e39d6
Delete empty lists from toolchain args that can now be omitted 2022-12-05 12:05:19 -08:00
David Tolnay
322b803a5e
Bump Bazel build to rustc 1.65.0 2022-12-03 11:03:10 -08:00
David Tolnay
83b7d597cf
Run test suite in the buck2 CI job
`buck2 test` isn't available yet in the open source version of buck2,
but this workaround is sufficient for cxx.
2022-12-03 11:02:33 -08:00
David Tolnay
210ea94271
Reconcile inconsistent crate features between bazel and generated buck targets 2022-12-03 00:18:13 -08:00