diff options
| author | Tobias Simetsreiter <tobias.simetsreiter@meliot.de> | 2024-01-21 22:54:01 +0100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2024-01-26 15:25:52 +0200 |
| commit | 20abf1394aef44eb1882e801f1d729fcff452db3 (patch) | |
| tree | e552507aab33a5197c68083627a9cd28cde203f8 /test/src/Cases.zig | |
| parent | b36dd55af5fa0e8e0a464440a7e6f2821f67c590 (diff) | |
| download | zig-20abf1394aef44eb1882e801f1d729fcff452db3.tar.gz zig-20abf1394aef44eb1882e801f1d729fcff452db3.zip | |
align naming and fix module creation from TranslateC
Diffstat (limited to 'test/src/Cases.zig')
| -rw-r--r-- | test/src/Cases.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/Cases.zig b/test/src/Cases.zig index 9d52516b84..041d537625 100644 --- a/test/src/Cases.zig +++ b/test/src/Cases.zig @@ -702,7 +702,7 @@ pub fn lowerToBuildSteps( const file_source = write_src.add("tmp.c", case.input); const translate_c = b.addTranslateC(.{ - .source_file = file_source, + .root_source_file = file_source, .optimize = .Debug, .target = case.target, .link_libc = case.link_libc, @@ -729,7 +729,7 @@ pub fn lowerToBuildSteps( const file_source = write_src.add("tmp.c", case.input); const translate_c = b.addTranslateC(.{ - .source_file = file_source, + .root_source_file = file_source, .optimize = .Debug, .target = case.target, .link_libc = case.link_libc, |
