Flipper Zero Zig Template

(github.com)

109 points | by Nars088 7 hours ago

3 comments

  • bpavuk 6 hours ago
    `@cImport` is dead, apparently, so the example should be updated.
    • speps 2 hours ago
      Stop the misinformation, it’s just changing where it’s being done moving from the language to the build system itself: https://ziggit.dev/t/cimport-going-away/5132

      It’s also decoupling Zig compiler and C compiler so they’re updated independently.

      It’s still a bummer in my view as I just replaced my build pipelines with just a Zig compiler instead of emscripten but that’s fine.

    • Narew 6 hours ago
      It's deprecated not removed yet.
      • bpavuk 5 hours ago
        I'm a little too lazy to double-check, but either way 0.17.0 is around the corner, where it will totally get nixed
        • nyrikki 36 minutes ago
          It is being moved not going away.

          It is just a wrapper around zig translate-c, moving it to the build system moves the resulting clang dependency to a place where it can be optional.

          The functionality is staying, it is just moving.

    • teddyX 2 hours ago
      Deprecated
  • dfee 50 minutes ago
    crazy that the readme doesn't link to the product.

    https://flipper.net/products/flipper-zero