We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8ce9ee commit d1483aeCopy full SHA for d1483ae
pkgs/native_toolchain_c/test/clinker/rust_test.dart
@@ -29,6 +29,11 @@ Future<void> main() async {
29
staticLib.toFilePath(),
30
]);
31
rustToolchainInstalled = processResult.exitCode == 0;
32
+ if (rustToolchainInstalled) {
33
+ await File.fromUri(
34
+ staticLib,
35
+ ).copy(tempUri.resolve('libtest.a').toFilePath());
36
+ }
37
final linkInputBuilder = LinkInputBuilder()
38
..setupShared(
39
packageName: 'testpackage',
@@ -46,10 +51,6 @@ Future<void> main() async {
46
51
);
47
52
48
53
linkInput = linkInputBuilder.build();
49
-
50
- await File.fromUri(
- staticLib,
- ).copy(tempUri.resolve('libtest.a').toFilePath());
54
});
55
test('link rust binary with script treeshakes', () async {
56
if (!rustToolchainInstalled) {
0 commit comments