Skip to content

Commit

Permalink
[native_toolchain_c] Fix test to not assume working dir (#1454)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcharkes authored Aug 26, 2024
1 parent faaad33 commit 96f7fb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/native_toolchain_c/test/clinker/treeshake_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ Future<void> main() async {
linkerOptions: LinkerOptions.manual(
flags: ['--strip-debug', '-u', 'my_other_func'],
gcSections: true,
linkerScript: Uri.file('test/clinker/testfiles/linker/symbols.lds'),
linkerScript:
packageUri.resolve('test/clinker/testfiles/linker/symbols.lds'),
),
);
CLinker linkerAuto(List<String> sources) => CLinker.library(
Expand Down

0 comments on commit 96f7fb0

Please sign in to comment.