If a project.janet file contains both a (declare-native) module and janet-source-code that depends on it, the build fails, but only if an executable is to be build:
Exampel project.janet extracted from jeff
(declare-project :name "jeff" :author "Josef Pospíšil <josef.pospisil@laststar.eu>, tionis <janet@tionis.dev>" :description "Janet Extended Fuzzy Finder" :license "MIT" :url "https://tasadar.net/tionis/jeff" :repo "git+https://tasadar.net/tionis/jeff" :dependencies ["spork" "https://github.com/MorganPeterson/jermbox.git"]) (declare-native :name "fzy" :source ["fzy.c"]) (declare-source :source ["jeff"]) (declare-executable :name "jeff" :entry "jeff/cli.janet" :install true)