Skip to content

Commit de67417

Browse files
authored
Switched to Rust 1.90 in CI (#1024)
1 parent b29a5e7 commit de67417

File tree

6 files changed

+17
-11
lines changed

6 files changed

+17
-11
lines changed

.github/workflows/heavy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
with:
2020
submodules: recursive
2121
- uses: dtolnay/rust-toolchain@stable
22+
with:
23+
toolchain: 1.90.0
2224
- name: Install protoc
2325
uses: arduino/setup-protoc@v3
2426
with:

.github/workflows/per-pr.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
submodules: recursive
2222
- uses: dtolnay/rust-toolchain@stable
2323
with:
24-
toolchain: 1.88.0
24+
toolchain: 1.90.0
2525
- name: Install protoc
2626
uses: arduino/setup-protoc@v3
2727
with:
@@ -58,7 +58,7 @@ jobs:
5858
- uses: actions/checkout@v4
5959
- uses: dtolnay/rust-toolchain@stable
6060
with:
61-
toolchain: 1.88.0
61+
toolchain: 1.90.0
6262
- name: Install protoc
6363
uses: arduino/setup-protoc@v3
6464
with:
@@ -106,7 +106,7 @@ jobs:
106106
- uses: actions/checkout@v4
107107
- uses: dtolnay/rust-toolchain@stable
108108
with:
109-
toolchain: 1.88.0
109+
toolchain: 1.90.0
110110
- name: Install protoc
111111
uses: arduino/setup-protoc@v3
112112
with:
@@ -139,7 +139,7 @@ jobs:
139139
- uses: actions/checkout@v4
140140
- uses: dtolnay/rust-toolchain@stable
141141
with:
142-
toolchain: 1.88.0
142+
toolchain: 1.90.0
143143
- name: Install protoc
144144
uses: arduino/setup-protoc@v3
145145
with:
@@ -164,7 +164,7 @@ jobs:
164164
- uses: actions/checkout@v4
165165
- uses: dtolnay/rust-toolchain@stable
166166
with:
167-
toolchain: 1.88.0
167+
toolchain: 1.90.0
168168
- name: Install protoc
169169
uses: arduino/setup-protoc@v3
170170
with:
@@ -185,7 +185,7 @@ jobs:
185185
- uses: actions/checkout@v4
186186
- uses: dtolnay/rust-toolchain@stable
187187
with:
188-
toolchain: 1.88.0
188+
toolchain: 1.90.0
189189
- name: Install protoc
190190
uses: arduino/setup-protoc@v3
191191
with:

core/src/internal_flags.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ use temporal_sdk_core_protos::temporal::api::{
1818
/// may be removed from the enum. *Importantly*, all variants must be given explicit values, such
1919
/// that removing older variants does not create any change in existing values. Removed flag
2020
/// variants must be reserved forever (a-la protobuf), and should be called out in a comment.
21+
#[allow(unreachable_pub)] // re-exported in test_help::integ_helpers
2122
#[repr(u32)]
2223
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, Copy, Clone, Debug, enum_iterator::Sequence)]
2324
pub enum CoreInternalFlags {

core/src/worker/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ pub(crate) use activities::{
1818
NewLocalAct,
1919
};
2020
pub(crate) use wft_poller::WFTPollerShared;
21+
22+
#[allow(unreachable_pub)] // re-exported in test_help::integ_helpers
2123
pub use workflow::LEGACY_QUERY_ID;
2224

2325
use crate::{

core/src/worker/workflow/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ use tracing::Span;
9999
/// Id used by server for "legacy" queries. IE: Queries that come in the `query` rather than
100100
/// `queries` field of a WFT, and are responded to on the separate `respond_query_task_completed`
101101
/// rpc.
102+
#[allow(unreachable_pub)] // re-exported in supermodule
102103
pub const LEGACY_QUERY_ID: &str = "legacy_query";
103104
/// What percentage of a WFT timeout we are willing to wait before sending a WFT heartbeat when
104105
/// necessary.

fsm/rustfsm_procmacro/tests/trybuild/dupe_transitions_fail.stderr

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error: Duplicate transitions are not allowed!
22
--> $DIR/dupe_transitions_fail.rs:5:1
33
|
4-
5 | / fsm! {
5-
6 | | name SimpleMachine; command SimpleMachineCommand; error Infallible;
6-
7 | |
7-
8 | | One --(A)--> Two;
8-
9 | | One --(A)--> Two;
4+
5 | / fsm! {
5+
6 | | name SimpleMachine; command SimpleMachineCommand; error Infallible;
6+
7 | |
7+
8 | | One --(A)--> Two;
8+
9 | | One --(A)--> Two;
99
10 | | }
1010
| |_^
1111
|

0 commit comments

Comments
 (0)