[Feature]: Zig Language Support on Termux
Feature description
I started writing code in Zig using Helix Editor and VIM on Termux. I installed the zig and zls packages on Termux, and then installed the clang package as follows:
pkg install zig
pkg install zls
pkg install clang
After completing all these steps, when I tried to start Zig using zig init in the folder named storage/sample-zig-project/, I received the following error.
[1] 24690 invalid system call zig init
When I did some research online regarding this, I came across a comment suggesting that the libc library is incompatible with the zig language, and that the library on Termux is not compatible with the zig language. I haven't been able to pinpoint the root cause of the problem, so I'm asking for support.
Additional information
The same zig launch support works fine on other Linux-based operating systems.
Feature description
I started writing code in Zig using Helix Editor and VIM on Termux. I installed the
zigandzlspackages on Termux, and then installed theclangpackage as follows:pkg install zig pkg install zls pkg install clang After completing all these steps, when I tried to start Zig using
zig initin the folder namedstorage/sample-zig-project/, I received the following error.
Executing code from shared storage is not permitted by Android.
- Please check if this issue still persists after #25946 and #26088 and if trying to initialize a project within the Termux home directory instead of shared storage.