412 Commits

Author SHA1 Message Date
openharmony_ci 1cf561b9e9 !3 告警与遗留问题文件补充
Merge pull request !3 from peizhe/master
OpenHarmony-v4.0.4-Release OpenHarmony-v4.0.3-Release OpenHarmony-v4.0.2-Release OpenHarmony-v4.0-Beta1 OpenHarmony-v4.0-Beta2 OpenHarmony-v4.0-Release OpenHarmony-v4.0.1-Release OpenHarmony-v4.1-Beta1 master-v weekly_20240115-v
2023-05-09 11:13:41 +00:00
peizhe 3951588a59 告警与遗留问题文件补充
Signed-off-by: peizhe <zhaipeizhe@huawei.com>
2023-05-08 17:00:19 +08:00
openharmony_ci 4a1cae55a3 !2 CI OAT 告警清零与README.OpenSource 中License信息整改
Merge pull request !2 from peizhe/master
2023-05-04 06:58:58 +00:00
peizhe a4f2b5afa1 CI OAT 告警清零与README.OpenSource 中License信息整改
Signed-off-by: peizhe <zhaipeizhe@huawei.com>
2023-05-04 09:48:38 +08:00
openharmony_ci 5331ccb9c5 !1 [pin-project-lite]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
Merge pull request !1 from peizhe/master
2023-04-19 01:29:15 +00:00
peizhe f6401adc71 Add GN Build Files and Custom Modifications
Signed-off-by: peizhe <472708703@qq.com>
2023-04-18 17:15:01 +08:00
Taiki Endo 3713e1b52f Release 0.2.9 github.com/taiki-e/pin-project-lite/refs/tags/v0.2.9 2022-04-26 22:34:05 +09:00
Taiki Endo 13bd923ff2 Update lint test 2022-04-26 22:33:38 +09:00
Taiki Endo 2a97c36a14 Update CI config 2022-04-26 22:33:17 +09:00
bors[bot] a6093d1e0a Merge #71
71: Break up `__pin_project_internal` r=taiki-e a=nnethercote

I have been investigating expensive declarative macros recently. `pin_project_lite::pin_project` showed up as expensive for the `futures-lite` crate. This macro is very large, with 47 rules, many of these being internal rules. I thought that splitting it up into lots of smaller macros might help with performance. It only made a small (2%) performance improvement, but I think it increases readability enough that it's worth doing anyway. So I made this pull request.

Co-authored-by: Nicholas Nethercote <n.nethercote@gmail.com>
2022-04-21 12:13:13 +00:00
Nicholas Nethercote 7e8ebbcb9b Update expected outputs. 2022-04-19 12:37:54 +10:00
Nicholas Nethercote d1e364e6d5 Break up __pin_project_internal! into multiple rules.
By removal internal rules, this commit turns one giant macro with 47
rules into 23 macros with a small number of rules each. I find the
resulting code *much* easier to read; I found the original giant macro
quite overwhelming. The new code also needs fewer comments because the
code is clearer.

The commit also fixes some minor formatting inconsistencies, such as
always putting a space between the `!` and the `{` in a macro
invocation, and using parens instead of braces for a few matchers.
2022-04-19 12:25:21 +10:00
Nicholas Nethercote f26429046f Reorder rules in __pin_project_internal!.
This isn't useful by itself, but it sets things up for the next commit,
which will break `__pin_project_internal!` into a number of smaller
macros.
2022-04-19 12:25:21 +10:00
Taiki Endo a8c10ff44c Update ui test to nightly-2022-04-18 2022-04-18 10:49:27 +09:00
Taiki Endo 46b7218afb Tweak docs 2022-02-20 11:49:48 +09:00
Taiki Endo 25e62520d1 Enable -Z randomize-layout in miri CI 2022-02-20 11:49:04 +09:00
Taiki Endo f5b9301ac1 Update scripts 2022-02-20 11:48:58 +09:00
Taiki Endo 2c36bce7d4 Update CI config 2022-02-20 11:48:48 +09:00
Taiki Endo 0a920ea7d3 Update tools/publish.sh 2022-02-06 10:55:16 +09:00
Taiki Endo 55d411e5a1 Enable -Zmiri-symbolic-alignment-check and -Zmiri-check-number-validity in miri CI 2022-02-06 10:45:45 +09:00
Taiki Endo 75bdd0d502 Enable full backtrace in CI 2022-02-06 10:17:13 +09:00
Taiki Endo c82225087c Update ui test to nightly-2022-02-05 2022-02-05 11:44:07 +09:00
Taiki Endo c75e965b8d Update macrotest revision 2022-01-19 11:51:05 +09:00
Taiki Endo d6ad4e7fc5 Revert "Use rustversion crate to detect nightly compiler in tests"
This reverts commit 895b914a59.

rustversion::cfg! macro requires Rust 1.38.
2022-01-15 16:29:21 +09:00
Taiki Endo 895b914a59 Use rustversion crate to detect nightly compiler in tests 2022-01-15 15:03:17 +09:00
Taiki Endo e1af01126e Ignore clippy::single_char_lifetime_names lint in test 2022-01-15 15:00:11 +09:00
Taiki Endo 5aaf98802a Use macrotest from git 2022-01-01 16:40:41 +09:00
Taiki Endo aed5c8154d Release 0.2.8 2021-12-31 22:19:58 +09:00
Taiki Endo dc177e9a2b Clean up CI config 2021-12-31 21:38:24 +09:00
Taiki Endo 824e410fb7 Clean up scripts 2021-12-31 21:36:23 +09:00
Taiki Endo 9cdab05f7f Add unsafe constructors to private structs 2021-12-31 21:36:02 +09:00
Taiki Endo e830ebe9fc Enable -Zmiri-tag-raw-pointers in miri CI 2021-12-26 23:13:40 +09:00
Taiki Endo b69fc95b0e Update ui test to nightly-2021-12-12 2021-12-13 00:59:37 +09:00
Taiki Endo aea650fddf Ignore clippy::use_self lint 2021-12-08 13:14:25 +09:00
Taiki Endo 889f4e9c03 Remove authors field from Cargo.toml
https://rust-lang.github.io/rfcs/3052-optional-authors-field.html
2021-11-20 21:08:58 +09:00
Taiki Endo 0292f05ff7 Update CI config 2021-11-20 20:37:42 +09:00
Taiki Endo 98df2dc84d Fix unknown_lints warning 2021-11-05 21:26:12 +09:00
Taiki Endo cc5ea06221 ci: move minimal-versions check to tidy 2021-10-19 00:55:55 +09:00
Taiki Endo c6e03805f9 Update scripts 2021-10-19 00:41:03 +09:00
Taiki Endo bd8822c101 Update comment in lint test 2021-10-13 22:41:57 +09:00
Taiki Endo cc7d9b44aa Ui test changes for trybuild 1.0.49 2021-10-13 21:52:43 +09:00
Taiki Endo 2755f41ec2 Update tools/publish.sh 2021-10-09 04:07:15 +09:00
Taiki Endo 99a18e8376 Remove #![warn(future_incompatible)]
This is not necessarily a good idea because it lowers the level of
important lints like const_err.
2021-10-09 03:38:40 +09:00
Taiki Endo 34af822262 Add rust-version field to Cargo.toml
https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-rust-version-field
2021-10-02 20:29:33 +09:00
Taiki Endo ec2e257171 Ignore clippy::if_then_panic lint 2021-10-01 21:05:51 +09:00
Taiki Endo aff8255903 Unify unordered list symbol in markdown 2021-09-01 20:24:20 +09:00
Taiki Endo 4d390574bb Update ui tests to nightly-2021-08-19 2021-08-20 03:06:44 +09:00
Taiki Endo 477aa11c21 Remove doc URL from Cargo.toml
https://doc.rust-lang.org/cargo/reference/manifest.html#the-documentation-field

> If no URL is specified in the manifest file, crates.io will
> automatically link your crate to the corresponding docs.rs page.
2021-08-07 12:49:20 +09:00
Taiki Endo bcda3ac20b rustfmt: remove version = "Two" 2021-08-06 20:46:07 +09:00
bors[bot] 2b33164de6 Merge #69
69: Refactoring r=taiki-e a=Michael-J-Ward

Strict refactoring step, ready for review.

No new features are added, but the code is prepared for newtype variants.

The commits are all self-contained, this is ready for review.

Co-authored-by: Michael J Ward <ward.michael.j@gmail.com>
2021-08-06 11:39:35 +00:00