sysjs: error running sysjs on M1 Mac #439

Closed
opened 2022-07-28 08:13:30 +00:00 by kamidev · 2 comments
kamidev commented 2022-07-28 08:13:30 +00:00 (Migrated from github.com)

Apple M1 Max. macOS Version 12.5 (Build 21G72)
Zig stage1 version 0.10.0-dev.3361

➜  sysaudio git:(main) ✗ git log -1 | tee
commit eecbad403ca4205ed90ef97f3cd07a3da8def671
Author: Ali Chraghi <alichraghi@pm.me>
Date:   Tue Jul 26 11:31:04 2022 +0430

     dev: add other workflows to ci-lint.sh
➜  sysjs git:(main) ✗ zig build test
./build.zig:6:33: error: expected 3 argument(s), found 2
    test_step.dependOn(&testStep(b, mode).step);
                                ^
./build.zig:9:5: note: declared here
pub fn testStep(b: *std.build.Builder, mode: std.builtin.Mode, target: std.zig.CrossTarget) *std.build.RunStep {
    ^
Apple M1 Max. macOS Version 12.5 (Build 21G72) Zig stage1 version 0.10.0-dev.3361 ``` ➜ sysaudio git:(main) ✗ git log -1 | tee commit eecbad403ca4205ed90ef97f3cd07a3da8def671 Author: Ali Chraghi <alichraghi@pm.me> Date: Tue Jul 26 11:31:04 2022 +0430 dev: add other workflows to ci-lint.sh ``` ``` ➜ sysjs git:(main) ✗ zig build test ./build.zig:6:33: error: expected 3 argument(s), found 2 test_step.dependOn(&testStep(b, mode).step); ^ ./build.zig:9:5: note: declared here pub fn testStep(b: *std.build.Builder, mode: std.builtin.Mode, target: std.zig.CrossTarget) *std.build.RunStep { ^ ```
kamidev commented 2022-07-28 08:16:24 +00:00 (Migrated from github.com)

I looked at 'build.zig' and ran the sub-projects in the test_step manually. The sub-projects that currently fail are sysjs and sysaudio.

I looked at 'build.zig' and ran the sub-projects in the test_step manually. The sub-projects that currently fail are sysjs and sysaudio.
alichraghi commented 2022-07-28 08:23:48 +00:00 (Migrated from github.com)

my fault again. can't believe i missed this. but anyhow, it's expected to zig build test fail in sysjs/. but not with this error

my fault again. can't believe i missed this. but anyhow, it's expected to `zig build test` fail in `sysjs/`. but not with this error
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#439
No description provided.