Skip to content
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

Update rustc version incrementally to nightly-2022-12-06 #811

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
867db8b
Updated to `nightly-2022-08-22`, the latest version not requiring any…
kkysen Jan 4, 2023
74f703f
Used `Default::default()` instead of `Vec::new()` so that `ThinVec::n…
kkysen Jan 4, 2023
9416506
Updated to `nightly-2022-08-23` after the `Vec::new()` => `Default::d…
kkysen Jan 4, 2023
9f4e406
Updated to `nightly-2022-08-29`, the latest version not requiring any…
kkysen Jan 4, 2023
a2738de
Updated to `nightly-2022-09-30`, changing `.basic_blocks()` => `.basi…
kkysen Jan 4, 2023
de457a9
Updated to `nightly-2022-09-08`, changing `StatementKind::{CopyNonOve…
kkysen Jan 4, 2023
23d9928
`cargo clippy --fix` after the update to `nightly-2022-09-08`.
kkysen Jan 4, 2023
848a7e9
Updated to `nightly-2022-09-17`, the latest version not requiring an…
kkysen Jan 4, 2023
bf95e95
`cargo clippy --fix && cargo fmt` after the update to `nightly-2022-0…
kkysen Jan 5, 2023
4a740ab
In `c2rust_instrument::into_operand::make_const`, use `ConstantKind::…
kkysen Jan 5, 2023
76be307
Updated to `nightly-2022-09-19`, which seems to change the PDG by eli…
kkysen Jan 5, 2023
674d0e2
Updated to `nightly-2022-09-21`, adding a `match` arm for `Projection…
kkysen Jan 5, 2023
5ea3998
Updated to `nightly-2022-10-08`, the latest version not requiring any…
kkysen Jan 5, 2023
6ede894
`cargo clippy --fix` after the update to `nightly-2022-10-08`.
kkysen Jan 5, 2023
78d36f2
Trivial `clippy` fixes after the update to `nightly-2022-10-08`.
kkysen Jan 5, 2023
7fd06e3
Updated to `nightly-2022-10-09`, changing `CastKind{Misc => PtrToPtr}…
kkysen Jan 5, 2023
9e6a899
Updated to `nightly-2022-12-06`, the latest version not requiring any…
kkysen Jan 5, 2023
3bb66d6
`cargo clippy --fix && cargo fmt` after the update to `nightly-2022-1…
kkysen Jan 5, 2023
d835ba6
Trivial `clippy` fixes after the update to `nightly-2022-12-06`.
kkysen Jan 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated to nightly-2022-09-19, which seems to change the PDG by eli…
…ding `pointers::REALLOC` (the pointer to `realloc` used for an extra indirection to fool us) as `_`.
  • Loading branch information
kkysen committed Feb 1, 2023
commit 76be3078892d5d3fd7c076568d447339070c265d
Original file line number Diff line number Diff line change
@@ -215,7 +215,7 @@ g {
n[18]: copy n[1] => _43 @ bb21[6]: fn exercise_allocator; _43 = _1;
n[19]: copy n[18] => _42 @ bb21[7]: fn exercise_allocator; _42 = move _43 as *mut libc::c_void (Misc);
n[20]: copy n[1] => _4 @ bb0[1]: fn reallocarray; _4 = _1;
n[21]: copy n[20] => _1 @ bb1[3]: fn reallocarray; _0 = const pointers::REALLOC(move _4, move _5);
n[21]: copy n[20] => _1 @ bb1[3]: fn reallocarray; _0 = const _(move _4, move _5);
n[22]: free n[19] => _41 @ bb22[2]: fn exercise_allocator; _41 = reallocarray(move _42, move _44, move _45);
}
nodes_that_need_write = [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
Original file line number Diff line number Diff line change
@@ -215,7 +215,7 @@ g {
n[18]: copy n[1] => _42 @ bb20[6]: fn exercise_allocator; _42 = _1;
n[19]: copy n[18] => _41 @ bb20[7]: fn exercise_allocator; _41 = move _42 as *mut libc::c_void (Misc);
n[20]: copy n[1] => _4 @ bb0[1]: fn reallocarray; _4 = _1;
n[21]: copy n[20] => _1 @ bb0[10]: fn reallocarray; _0 = const pointers::REALLOC(move _4, move _5);
n[21]: copy n[20] => _1 @ bb0[10]: fn reallocarray; _0 = const _(move _4, move _5);
n[22]: free n[19] => _40 @ bb21[2]: fn exercise_allocator; _40 = reallocarray(move _41, move _43, move _44);
}
nodes_that_need_write = [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also commented on Slack: could we split this file into one per package? That way we can update some of them independently. E.g. I think c2rust-analyze and c2rust-pdg could be on stable Rust.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c2rust-analyze and c2rust-pdg use rustc internals, so they need nightly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For c2rust-transpile and it's dependencies, those can build on stable, but c2rust, if it depends on things like c2rust-analyze (it doesn't currently, but that was the future intention), I'm not sure how to have rust-toolchsin.toml work there, as we want it to build on both nightly and stable.

This is also an issue for rav1d, so figuring out how to do this would be nice.

channel = "nightly-2022-09-17"
channel = "nightly-2022-09-19"
components = ["rustfmt-preview", "rustc-dev", "rust-src", "miri"]