-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(build): bump toolchain to 2022-10-27 #6025
Conversation
387db6b
to
be1f743
Compare
@MrCroxx I've workaround the file cache lifetime problem. You should fix it if you have time later. |
Co-Authored-By: xxchan <[email protected]> Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
8e63ca0
to
3b1e098
Compare
3b1e098
to
95899b4
Compare
Signed-off-by: Alex Chi <[email protected]>
Signed-off-by: Runji Wang <[email protected]>
@BugenZhao Any idea why building simulation timed out on CI? 🥵 |
Nope. 🥺 Does it mean we should write code really carefully after this PR? 🥵 |
Building |
Thanks for identifying 🤣 |
There shouldn't be much black magic inside. Perhaps const generic? |
Probably yes. Also why don't we merge hello, nexmark_chaos, nexmark_q4 into one single binary? |
That's okay. But I think there's no problem to separate integrated tests into multiple files? 🤣 This should be a best practice of Rust. |
Still don't think we should get this merged before the compiler fixes the issue. It's abnormal to put such effort or attention on these hacks while programming. 🤔 The attempts to bump still deserve acknowledgment though. |
I think it's more like we are abusing the type system. Sometimes we just insert random |
Signed-off-by: Bugen Zhao <[email protected]>
Agree on some storage stuffs, but it makes little sense on such a simple integrated test. 🤣 |
The potential problems lying in the integrated test are something I've been fixing before. All interfaces exposed by lib and not needed for inlining should have BoxFuture. Otherwise it will be recompiled in every binary. Let's see if it improves compile speed. |
Signed-off-by: Bugen Zhao <[email protected]>
dcd8555
to
1040276
Compare
Signed-off-by: Bugen Zhao <[email protected]>
I feel like it's also a bug of lifetime inference. FnMut seems to be the root cause for slow integration test compile. Will reproduce later. Let's workaround it first. |
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Removing |
Codecov Report
@@ Coverage Diff @@
## main #6025 +/- ##
==========================================
+ Coverage 74.64% 74.70% +0.06%
==========================================
Files 931 933 +2
Lines 148816 149009 +193
==========================================
+ Hits 111078 111312 +234
+ Misses 37738 37697 -41
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This is unreasonable. 🤣🤣 There should be tons of occurrences in well-known library crates of them. Why do they still behave well? 🤔 |
Co-Authored-By: xxchan [email protected]
Signed-off-by: Bugen Zhao [email protected]
I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
This PR is mostly a replication of #5119. We use a workaround for zip_order_key to make it compile.
Checklist
./risedev check
(or alias,./risedev c
)Refer to a related PR or issue link (optional)
close #5977