徐未来
b110613bee
cxx 1.0.91升级至1.0.97
...
Signed-off-by: 徐未来 <xuweilai2@huawei.com>
2024-04-02 19:59:25 +08:00
openharmony_ci
96698d870d
回退 'Pull Request !11 : cxx1.0.91升级至1.0.97'
2024-04-02 03:30:32 +00:00
徐未来
e4f6feee96
1.0.91升级至1.0.97
...
Signed-off-by: 徐未来 <xuweilai2@huawei.com>
2024-03-08 16:36:47 +08:00
lubinglun
2047426ea5
Add GN Build Files and Custom Modifications
...
Issue:https://gitee.com/openharmony/build/issues/I6UFTP
Signed-off-by: lubinglun <lubinglun@huawei.com>
2023-04-12 17:25:56 +08:00
David Tolnay
473f24ab1a
Release 1.0.91
2023-02-15 09:29:18 -08:00
David Tolnay
33b5c9eec5
Release 1.0.90
2023-02-10 19:36:09 -08:00
David Tolnay
1fdbb96b62
Release 1.0.89
2023-02-01 12:52:54 -08:00
Enyium
e59b4db200
Add docs.rs documentation link to cxx-build
's Cargo.toml
2023-02-01 04:18:53 +01:00
David Tolnay
f33abb9ca8
Release 1.0.88
2023-01-26 20:48:38 -08:00
David Tolnay
3aa71ecdd4
Release 1.0.87
2023-01-19 19:01:49 -08:00
David Tolnay
fe16a5dea3
Raise minimum rustc to 1.60
2023-01-07 12:37:18 -08:00
David Tolnay
1f3627267a
Release 1.0.86
2023-01-07 12:18:32 -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
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
340f0ba52a
Release 1.0.83
2022-12-02 17:13:59 -08:00
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
513371edca
Release 1.0.82
2022-11-18 01:23:30 -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
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
75c0454f1d
Extract a function for writing docs in generated C++
2022-11-18 00:04:55 -08:00
David Tolnay
544b350af6
Release 1.0.81
2022-11-08 01:00:47 -08:00
David Tolnay
c7060d4036
Release 1.0.80
2022-10-21 09:33:41 -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
6f257d81f4
Allow trycatch to call Fail using std::string
2022-10-15 15:00:44 -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
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
d2a7e0b244
Release 1.0.78
2022-09-28 16:45:12 -07:00
David Tolnay
fae939d974
Update argument parser to clap 4
2022-09-28 16:38:15 -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
4e96c36aac
Release 1.0.76
2022-09-19 10:36:53 -07:00
David Tolnay
072fd4f0a3
Allow Rust vector of array of trivially relocatable type
2022-09-19 10:25:31 -07:00
David Tolnay
0293ff50cf
Release 1.0.75
2022-09-02 14:33:59 -07:00
David Tolnay
a1e1983740
Add build-dependencies keyword for cxx-build
...
Notably the cc crate uses this keyword.
2022-08-30 22:53:44 -07:00
David Tolnay
02e9a4795d
Release 1.0.74
2022-08-30 15:53:14 -07:00
David Tolnay
6d78b8ed2e
Fix Windows "access is denied" removing a dangling symlink
2022-08-30 15:32:27 -07:00
David Tolnay
c4ee13ebc3
Fix Windows "filename, directory name, or volume label syntax is incorrect"
2022-08-30 14:21:44 -07:00
David Tolnay
a6608495d1
Release 1.0.73
2022-08-01 17:10:57 -07:00