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
David Tolnay
fae939d974
Update argument parser to clap 4
2022-09-28 16:38:15 -07:00
David Tolnay
00406ecc3a
Raise minimum tested toolchain to rust 1.60
2022-09-28 16:31:59 -07:00
David Tolnay
554032aa11
Lockfile update
2022-09-28 16:03:31 -07:00
David Tolnay
3e3c664c84
Sort cxxbridge flags in alphabetical order
2022-09-28 16:03:09 -07:00
David Tolnay
be7090ab22
Release 1.0.77
2022-09-27 17:53:26 -07:00
David Tolnay
ad19ee0963
Lockfile update
2022-09-27 17:52:13 -07:00
David Tolnay
c2179d3eb5
Merge pull request #1104 from dtolnay/vecbool
...
Allow Vec<bool>
2022-09-27 17:50:51 -07:00
David Tolnay
f142a6e330
Test return value of vec return functions
2022-09-27 17:41:34 -07:00
David Tolnay
b122cff91d
Allow Vec<bool> to pass syntax check
2022-09-27 17:38:47 -07:00
David Tolnay
f24ccb0dce
Add test of C++ returning Rust Vec
...
This is currently rejected.
error[cxxbridge]: unsupported element type of Vec
┌─ lib.rs:121:40
│
121 │ fn c_return_rust_vec_bool() -> Vec<bool>;
│ ^^^^^^^^^ unsupported element type of Vec
2022-09-27 17:38:27 -07:00