David Tolnay
5e404f04a7
Adopt east const in generated code to avoid ambiguities
2022-12-02 17:01:31 -08:00
David Tolnay
a894a694a2
Align reference ampersand consistently in generated code
2022-12-02 16:56:31 -08:00
David Tolnay
9a99bc642b
Merge pull request #1138 from dtolnay/buck2
...
Add buck2 CI
2022-12-01 22:35:45 -08:00
David Tolnay
dcbc8773d5
Add buck2 CI
2022-12-01 22:28:47 -08:00
David Tolnay
8e5e1f590e
Delete buck1 build from CI
...
This job began failing today due to some GitHub Actions change. We'll be
replacing it with a buck2 build shortly anyway so it's not worth
debugging now.
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/runner/work/cxx/cxx/bin/buck/__main__.py", line 25, in <module>
File "/home/runner/work/cxx/cxx/bin/buck/.bootstrap/_pex/pex_bootstrapper.py", line 92, in bootstrap_pex
File "/home/runner/work/cxx/cxx/bin/buck/.bootstrap/_pex/finders.py", line 22, in <module>
File "/home/runner/work/cxx/cxx/bin/buck/.bootstrap/pkg_resources/__init__.py", line 32, in <module>
ModuleNotFoundError: No module named 'symbol'
2022-11-30 19:16:20 -08:00
David Tolnay
3cc9f6bf94
Timeout for book deploy
2022-11-24 09:18:32 -08:00
David Tolnay
1be11d6288
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 appears 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-24 09:13:56 -08:00
David Tolnay
cc06082ad6
Bump Bazel build to rustc 1.63.0
2022-11-24 09:10:21 -08:00
David Tolnay
513371edca
Release 1.0.82
2022-11-18 01:23:30 -08:00
David Tolnay
3cdabff94e
Bump Bazel build to rustc 1.62.0
2022-11-18 01:22:33 -08:00
David Tolnay
090e76efdb
Merge pull request #1135 from dtolnay/doxygen
...
Doxygen comments
2022-11-18 01:22:18 -08:00
David Tolnay
883ef31f75
Ensure Doxygen comments have at least 2 lines to be recognized
2022-11-18 01:15:23 -08:00
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