You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/crate_info_validator_test.dart
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -63,10 +63,18 @@ void main() {
63
63
isA<RustValidationException>().having(
64
64
(e) => e.validationErrors,
65
65
'validationErrors',
66
-
containsAll([
67
-
'''Cargo.toml must specify [staticlib, cdylib] under lib.crate-types''',
68
-
'''Your current channel in rust-toolchain.toml is stable; this is dangerous and consequently is not allowed! Please specify an exact version to fix this issue.''',
69
-
'''aarch64-linux-android is not one of the supported targets: {x86_64-linux-gnu}''',
66
+
equals([
67
+
'''
68
+
Your Cargo.toml must specify [staticlib, cdylib] under `lib.crate-types`.
69
+
For more information, see https://github.com/GregoryConrad/native_toolchain_rs?tab=readme-ov-file#cargotoml''',
70
+
'''
71
+
The rust-toolchain.toml is using the `stable` channel, which is not allowed.
72
+
Please specify an exact version (e.g., `1.90.0`) to ensure a reproducible build.
73
+
For more information, see https://github.com/GregoryConrad/native_toolchain_rs?tab=readme-ov-file#rust-toolchaintoml''',
74
+
'''
75
+
The rust-toolchain.toml does not include the target `aarch64-linux-android`.
76
+
If you wish to support this target, please add it to the `targets` array in the rust-toolchain.toml file.
77
+
For more information, see https://github.com/GregoryConrad/native_toolchain_rs?tab=readme-ov-file#rust-toolchaintoml''',
0 commit comments