David Tolnay
ac65507e78
Add doxygen option to cxx_build::CFG
2022-11-18 01:15:23 -08:00
David Tolnay
a628611897
Add option to emit C++ comments as ///
2022-11-18 01:14:55 -08:00
David Tolnay
c16f037b8a
Bump Bazel build to rustc 1.61.0
2022-11-18 01:10:10 -08:00
David Tolnay
92bc299460
Lockfile update
2022-11-18 01:07:51 -08:00
David Tolnay
159b85b904
Make types in CFG documentation show better in dark theme
2022-11-18 00:34:20 -08:00
David Tolnay
cdd735afb3
Move Cfg destructuring out of the conditional if-let part
2022-11-18 00:21:55 -08:00
David Tolnay
f908cfa123
Exhaustively handle fields in Drop for Cfg
...
This way it's no longer possible to forget to update this code when
adding new configuration fields into CFG.
2022-11-18 00:19:50 -08:00
David Tolnay
5b39d5eb25
Merge pull request #1134 from dtolnay/writedoc
...
Extract a function for writing docs in generated C++
2022-11-18 00:14:22 -08:00
David Tolnay
75c0454f1d
Extract a function for writing docs in generated C++
2022-11-18 00:04:55 -08:00
David Tolnay
a3030a0460
Update ui test suite to nightly-2022-11-16
2022-11-15 19:07:35 -08:00
David Tolnay
f952196ac4
Merge pull request #1130 from dtolnay/unpinimpl
...
Restore unpin_impl.rs UI test after `need_type_info` ICE has been fixed
2022-11-08 11:28:23 -08:00
David Tolnay
930e0de803
Update unpin_impl ui test to nightly-2022-10-06
2022-11-08 11:19:34 -08:00
David Tolnay
13633c3388
Update unpin_impl ui test to nightly-2022-06-12
2022-11-08 11:13:08 -08:00
David Tolnay
b6eddfd576
Revert "Delete unpin_impl.rs UI test temporarily"
...
This reverts commit fb6db7d11e
.
2022-11-08 11:09:04 -08:00
David Tolnay
544b350af6
Release 1.0.81
2022-11-08 01:00:47 -08:00
David Tolnay
08d4f63c36
Lockfile update
2022-11-08 01:00:10 -08:00
David Tolnay
a0ed0f9296
Merge pull request #1128 from dtolnay/rawident
...
Support raw identifiers in namespace attribute
2022-11-08 00:59:59 -08:00
David Tolnay
33432a868d
Provide a suggestion to replace quoted raw identifier
2022-11-08 00:50:54 -08:00
David Tolnay
dc5a920deb
Add raw identifier ui test
2022-11-08 00:47:38 -08:00
David Tolnay
9f47a6218f
Allow raw identifier outside of quotes only
2022-11-08 00:40:51 -08:00
David Tolnay
8a029059c1
Support raw identifiers in namespace attribute
...
As in: #[namespace = ::my::company::r#box::implementation]
2022-11-08 00:35:10 -08:00
David Tolnay
3e065f76a4
Update ui test suite to nightly-2022-11-05
2022-11-04 23:28:26 -07:00
David Tolnay
c7060d4036
Release 1.0.80
2022-10-21 09:33:41 -07:00
David Tolnay
5e1511ed8a
Lockfile update
2022-10-21 09:32:42 -07:00
David Tolnay
b4bb549e08
Merge pull request #1116 from dtolnay/nostdpath
...
No-std fixes for Box, String, Pin, c_char
2022-10-21 09:31:33 -07:00
David Tolnay
152b89b08b
No-std fixes for Box, String, Pin, c_char
2022-10-21 09:18:48 -07:00
David Tolnay
8b7643b933
Mark rust::detail::Fail constructor noexcept
2022-10-15 15:32:04 -07:00
David Tolnay
97a46f93b6
Release 1.0.79
2022-10-15 15:15:47 -07:00
David Tolnay
82420d5538
Lockfile update
2022-10-15 15:14:34 -07:00
David Tolnay
affcc4e8e9
Merge pull request #1114 from dtolnay/failstring
...
Allow trycatch to call Fail using std::string
2022-10-15 15:08:28 -07:00
David Tolnay
6f257d81f4
Allow trycatch to call Fail using std::string
2022-10-15 15:00:44 -07:00
David Tolnay
031723f9cb
Merge pull request #1113 from dtolnay/exception
...
Fix incorrect string len if an exception's message is invalid UTF-8
2022-10-15 15:00:36 -07:00
David Tolnay
438621c641
Fix incorrect string len if an exception's message is invalid UTF-8
2022-10-15 14:53:07 -07:00
David Tolnay
a39652409c
Merge pull request #1112 from dtolnay/fail
...
Factor out the Fail lambda from all trycatch calls
2022-10-15 14:27:24 -07:00
David Tolnay
d1afb26f4b
Factor out the Fail lambda from all trycatch calls
2022-10-15 14:17:26 -07:00
David Tolnay
5ab0a485cc
Mark cxxbridge1$exception noexcept
...
This function is implemented in Rust using #[no_mangle] extern "C", and
it cannot throw a C++ exception.
2022-10-15 14:14:12 -07:00
David Tolnay
202a02917b
Move namespace rust::repr above namespace rust::detail
...
I'd like to use rust::repr::PtrLen in the implementation of a
rust::detail::Fail functor.
2022-10-15 13:57:49 -07:00
David Tolnay
41f662f02e
Deduplicate rust::repr namespace begin/end
2022-10-15 13:57:00 -07:00
David Tolnay
1b33345a6e
Move rust::repr out of anonymous namespace
...
This will be needed to use PtrLen in the implementation of a Fail
functor in cxx.cc.
2022-10-15 13:54:08 -07:00
David Tolnay
eae0477484
Format C++ with clang-format 14.0.0
2022-10-15 13:10:54 -07:00
David Tolnay
746a369c6b
Merge pull request #1111 from lopopolo/patch-1
...
Update codespan-reporting to build with -Zminimal-versions
2022-10-13 21:44:10 -07:00
Ryan Lopopolo
845f66a245
Update codespan-reporting to build with -Zminimal-versions
...
`codespan-reporting` 0.11.0 does not build with `-Zminimal-versions` because it has a constraint
on `termcolor = 1` whereas it depends on the `Copy` trait being implemented on types in `termcolor`
which were not added until 1.0.4.
See:
- https://github.com/brendanzab/codespan/issues/322
- e99c867339
2022-10-13 21:24:43 -07:00
David Tolnay
1171d3592b
Merge pull request #1109 from dtolnay/output
...
Switch from set-output to $GITHUB_OUTPUT
2022-10-13 09:46:40 -07:00
David Tolnay
5b38fbf0c6
Switch from set-output to $GITHUB_OUTPUT
2022-10-13 09:38:11 -07:00
David Tolnay
5af33efc41
Ui test changes for trybuild 1.0.66
2022-10-04 22:21:07 -07:00
David Tolnay
b43a2341a9
Lockfile update
2022-10-04 22:20:54 -07:00
David Tolnay
5782254472
Update ui test suite to nightly-2022-10-05
2022-10-04 21:28:00 -07:00
David Tolnay
2b154a4233
Update ui test suite to nightly-2022-09-29
2022-09-28 21:36:28 -07:00
David Tolnay
d2a7e0b244
Release 1.0.78
2022-09-28 16:45:12 -07:00
David Tolnay
49df9e3572
Merge pull request #1105 from dtolnay/clap
...
Update argument parser to clap 4
2022-09-28 16:44:25 -07:00