David Tolnay
e0966f7396
Fill in elided lifetimes on AssertUnpin and AssertSized
2021-12-10 13:17:17 -08:00
David Tolnay
3d14230ecc
Fill in elided lifetime in macro-generated code
2021-12-10 12:56:12 -08:00
David Tolnay
ebf72757d2
Move unsized type comment to the right function
2021-12-10 12:55:52 -08:00
David Tolnay
a8137213e6
Merge pull request #980 from dtolnay/unwind
...
Wrap all trait impls exposed to C++ in prevent_unwind
2021-12-09 20:39:35 -08:00
David Tolnay
dd78e66fb5
Wrap all derived trait impls exposed to C++ in prevent_unwind
2021-12-09 20:10:29 -08:00
David Tolnay
c9ee10189c
Add a comment linking to Box::new_uninit
2021-12-09 20:02:16 -08:00
David Tolnay
bf6ede6dc6
Refer to standard library macros by an absolute path
2021-12-09 19:43:04 -08:00
David Tolnay
61797c5277
Merge pull request #979 from dtolnay/lossy
...
Implement formatting for CxxString without memory allocation
2021-12-09 10:21:24 -08:00
David Tolnay
2f342236fe
Eliminate unneeded string type
2021-12-09 09:50:37 -08:00
David Tolnay
8026b4948e
Implement formatting for CxxString without allocation
2021-12-09 09:42:19 -08:00
David Tolnay
314d9ab5c5
Release 1.0.59
2021-12-09 04:17:23 -08:00
David Tolnay
c45e6086f3
Lockfile update
2021-12-09 04:17:02 -08:00
David Tolnay
7daffa7fe3
Merge pull request #978 from dtolnay/doc_cfg
...
Mark feature-gated APIs in rendered rustdoc
2021-12-08 23:00:09 -08:00
David Tolnay
d3020322fd
Mark feature-gated APIs in rendered rustdoc
2021-12-08 22:45:48 -08:00
David Tolnay
8afb7d6d83
Merge pull request #977 from dtolnay/preventunwind
...
Rename catch_unwind -> prevent_unwind
2021-12-08 18:13:15 -08:00
David Tolnay
67b9143818
Rename catch_unwind -> prevent_unwind
2021-12-08 17:47:40 -08:00
David Tolnay
8bb18c37ff
Touch up PR 951
2021-12-08 17:13:41 -08:00
David Tolnay
aa3e828402
Merge pull request #951 from rookboom/vector_clear
...
Add Vec clear
2021-12-08 17:11:50 -08:00
David Tolnay
6c0f458c52
Copy SipHasher13 from libstd to use in no-std mode
...
Closes #976 .
2021-12-07 20:54:08 -08:00
David Tolnay
34d73d6741
Release 1.0.58
2021-12-07 16:47:33 -08:00
David Tolnay
dae5278b81
Update CI job to bazel 4.2.2
2021-12-07 16:46:11 -08:00
David Tolnay
01cf6200c1
Pull in newer Bazel rules_rust
2021-12-07 16:38:59 -08:00
David Tolnay
da7aaa1528
Bump Bazel build to rustc 1.57.0
2021-12-07 16:17:06 -08:00
David Tolnay
87a9e47872
Bump Bazel build to rustc 1.56.0
2021-12-07 16:13:09 -08:00
David Tolnay
38764db27d
Lockfile update
2021-12-07 15:55:43 -08:00
David Tolnay
42ab88d145
Merge pull request #975 from dtolnay/nostd
...
Add CI builds on no_std and no_alloc
2021-12-07 15:54:48 -08:00
David Tolnay
b0b6fd8788
Add CI builds on no_std and no_alloc
2021-12-07 15:44:13 -08:00
David Tolnay
3cc9e82afd
Merge pull request #974 from dtolnay/nostd
...
Eliminate references to ::std from generated code
2021-12-07 15:28:19 -08:00
David Tolnay
bd124f4618
Eliminate references to ::std from generated code
2021-12-07 15:22:45 -08:00
David Tolnay
d2ff0015bf
Merge pull request #973 from dtolnay/noalloc
...
Add alloc feature behind feature gate
2021-12-07 15:17:33 -08:00
David Tolnay
339fbf9083
Add alloc feature behind feature gate
2021-12-07 15:06:07 -08:00
David Tolnay
42a36efccc
Merge pull request #972 from dtolnay/nostd
...
Block inadvertent use of items from libstd in no_std mode
2021-12-07 14:58:31 -08:00
David Tolnay
e59d0fe2c7
Block inadvertent use of items from libstd in no_std mode
2021-12-07 14:49:43 -08:00
David Tolnay
4ec0152c77
Merge pull request #971 from dtolnay/stdfeature
...
Add a std feature to conditionalize the Error impl on cxx::Exception
2021-12-07 14:44:33 -08:00
David Tolnay
7a33a6e3e5
Add a std feature to conditionalize the Error impl on cxx::Exception
2021-12-07 14:38:51 -08:00
David Tolnay
93daaef7cc
Merge pull request #970 from dtolnay/catchunwind
...
Implement a no_std catch_unwind mechanism
2021-12-07 14:38:39 -08:00
David Tolnay
cbfefb86ac
Implement a no_std catch_unwind mechanism
2021-12-07 14:31:57 -08:00
David Tolnay
8a3f429230
Merge pull request #969 from dtolnay/cchar
...
Vendor c_char definition from libstd
2021-12-07 14:10:16 -08:00
David Tolnay
b5993cc151
Vendor c_char definition from libstd
2021-12-07 13:54:37 -08:00
David Tolnay
eb5990843b
Remove spurious use of libstd from type name formatter
2021-12-07 13:08:44 -08:00
David Tolnay
60a790563c
Merge pull request #968 from dtolnay/serde
...
Pass through serde attributes
2021-12-05 19:49:34 -08:00
David Tolnay
338636308b
Pass through serde attributes
2021-12-05 19:37:43 -08:00
David Tolnay
d2a3315eb5
Update ui test suite to nightly-2021-12-02
2021-12-01 18:52:35 -08:00
David Tolnay
0854ef70c0
Release 1.0.57
2021-11-30 23:14:35 -08:00
David Tolnay
0e93fb4e2e
Lockfile update
2021-11-30 23:12:27 -08:00
David Tolnay
02d5c6e80e
Merge pull request #967 from adetaylor/export-unique-ptrs
...
Export UniquePtr and similar functions.
2021-11-30 23:06:57 -08:00
adetaylor
0431bad0dd
Export UniquePtr and similar functions.
...
Previously these did not respect
cxxbridge --cxx-impl-annotations
and similar directives in other build pipelines. These may be linked against
from Rust code just as other generated functions are, so it's important that
they are exported from shared objects in a similar fashion.
2021-11-29 22:33:25 -08:00
David Tolnay
df31229dbf
Tweak head.hbs spacing to render neater with newest version of mdbook
2021-11-27 10:25:29 -08:00
David Tolnay
ae6016e26a
Update Bazel/Buck lockfile following PR 962
2021-11-23 11:51:37 -08:00
David Tolnay
af454436ad
Merge pull request #962 from adetaylor/remove-cc
...
Remove unnecessary dependency from `gen/lib`
2021-11-23 11:42:55 -08:00