Zig build on NuttX#5732
Conversation
|
@kassane could you reorg your patch to remove the temporary change? |
Rebase? |
yes, please: |
|
@kassane I think the change for docker is also needed, you can create another patch for docker. |
|
@kassane please merge the fix for the previous patch into one. We need ensure each patch in the final shape. |
|
Please squash intermediate commits. Other parts LGTM |
zig install added on CI - fixed Docker - zig install parent 5d2e357 author Matheus Catarino França <matheus-catarino@hotmail.com> 1647344723 -0300 committer Matheus Catarino França <matheus-catarino@hotmail.com> 1647344723 -0300 zig-build added zig install added on CI - fixed Docker - zig install CI - replace wget2curl rm bloat curl command & zig latest version ZIG_ENV - rm bin folder ident format Apply suggestions from code review Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com> rm arch-zigoptimization rm arch-zigoptimization ref
|
There are some troubles with |
@kassane you can run "./tools/refresh.sh --silent sim:zig" to normalize defconfig. |
|
cc: @pkarashchenko @xiaoxiang781216 I try: $> ./tools/refresh.sh --silent sim:zig && git status
Normalize sim:zig
On branch zig-build
Your branch is up to date with 'origin/zig-build'.
nothing to commit, working tree clean |
|
Look like the CI doesn't get the last change from apps git, let retrigger CI again. |
|
I found some errors in app rules: |
|
@kassane please rework the changes and issue the PR again. |
OK. I'm working on it! After solving the problem, the new PR will be requested. |
Status
|
Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Summary
I made an example of hello_zig in reference to the rust example accepted earlier.
Zig besides building from the language itself is also currently a clang wrapper (allow cross-compilation) allowing you to compile C and C++(libc++ only) projects.
Impact
none.
Testing
Arch Linux - simulation (latest version 0.9.x & master/nightly)