Skip to content

Commit e9f7e72

Browse files
authored
chore(cli): Update cross-compilation version (#368)
The `--experimental-cross-compilation` is removed for 3.8 stable so only allow 3.8 stable to avoid issues.
1 parent e77b103 commit e9f7e72

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

apps/cli/lib/src/compiler/api/entrypoint_compiler.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ final class EntrypointCompiler {
7575
if (Abi.current() != Abi.linuxX64) ...[
7676
'--target-os=linux',
7777
'--target-arch=x64',
78-
'--experimental-cross-compilation',
7978
],
8079
'-o',
8180
outputPath,

apps/cli/lib/src/sdk/dart_sdk.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,7 @@ class Sdk {
223223
);
224224

225225
/// The version when cross-compilation was introduced.
226-
static final Version _crossCompilationVersion =
227-
Version.parse('3.8.0-262.0.dev');
226+
static final Version _crossCompilationVersion = Version.parse('3.8.0');
228227

229228
/// Whether or not the current SDK supports cross-compilation.
230229
bool get supportsCrossCompilation {

0 commit comments

Comments
 (0)