aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/zig.js
Commit message (Collapse)AuthorAge
* Move zig compiler files to TS and fix zigc{xx} semver comparisons (#4091)gh-4351Rubén Rincón Blanco2022-09-25
|
* Fixes wrong types in libraries.interfaces.ts (#3982)gh-4021Rubén Rincón Blanco2022-08-25
| | | | | * Fix getLibrary functions * Fix library.path usage in Zig compiler
* Lint fixesgh-2559Matt Godbolt2022-04-26
|
* All semver comparisons now ensure it's safe to do so (#3562)Rubén Rincón Blanco2022-04-26
| | | | | | | | | | | | | | | | | | | * All semver comparisons now ensure it's safe to do so * Oops, use correct class * Remove leftover import * Leave the Zig fixes for another PR * Fix linter * Fix test issues * Make linter happy, yet again * What? * Address PR review
* Update to latest zig trunk (#2832)Joachim Schmidt2021-07-31
| | | | Unused function parameters (used in the custom panic handler) are now compile errors.
* Adds Zig-args (#2735)Rubén Rincón Blanco2021-06-25
| | | | | | | | | | | | | | * Adds Zig-args This is the first Zig library added to the site, so this implementation might be broken in unexpected ways See issue #2525 * Update lib/base-compiler.js Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es> Co-authored-by: Matt Godbolt <matt@godbolt.org>
* exceptions for zig versions < 0.8.0Patrick Quist2021-06-09
|
* Fixed zig trunk LLVM IR output (#2327)Alexandros Naskos2020-11-13
| | | | | * Fixed zig trunk LLVM IR output * Filter all emit compiler options
* Update Zig to use the new CLI (#2254)Alexandros Naskos2020-10-04
| | | | | * Fixed zig.js for the new self hosted command line interface * Broke up long line into two
* Use ES6 Modules (#2132)Austin Morton2020-09-26
|
* Eliminate all dynamic require statements (#2230)Austin Morton2020-09-25
|
* Add new eslint rules (#2121)Rubén Rincón Blanco2020-08-04
| | | | | | | | | | | | | | | | The largest changes here are: - enforcing single quotes for strings - enforcing trailing commas where possible In addition to those we have enabled several eslint plugins: - plugin:requirejs/recommended, to enforce some conventions in require statements - plugin:node/recommended, to enforce correct usage of various node.js APIs - plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules This PR attempts to not change code behavior when possible. In cases where fixing existing code would change semantics, a linting exclusion has been placed in the code base to silence the error. You can find these by searching for `eslint-disable-next-line`. Co-authored-by: Austin Morton <austinpmorton@gmail.com>
* Ensure backend options are always generatedRabsRincon2020-06-15
|
* Stop zig from crashing if semver is not setRabsRincon2019-12-08
| | | | Closes #1710
* Fix ASM output on for the zig compilerHaze Booth2019-11-27
|
* added llvm-ir emit support for zigemekoi2019-10-17
|
* Fix zig output filenameAlessandro Vergani2019-10-09
| | | | Fixes #1409
* disable rpath for zig, doesn't workPartouf2019-08-21
|
* Fix Zig trunkRabsRincon2019-03-20
| | | | Closes #1304
* Fix Zig semver checkRabsRincon2019-03-17
|
* Fix newer Zig versionsRabsRincon2019-03-17
| | | | | - #1304 should be fixed by this commit, but no way to test it outside beta (Can't test zig locally)
* Enable cfg for x86 LLVM based compilers and gcc.Kārlis Seņko2019-01-09
|
* make zig executablePartouf2018-11-06
|
* exec for zigPartouf2018-11-06
|
* Update CONTRIBUTORS.md and Zig compiler stylingRabsRincon2018-10-03
|
* Fix zig 0.2.0 compilation failuresMarc Tiehuis2018-10-02
| | | | | There is a bug in the zig 0.2.0 compiler when emitting an explicit assembly output file. Binary dumping using objdump is required.
* Stop Zig compiler creating C header filesMarc Tiehuis2018-09-24
| | | | Fixes #1083.
* Filter potentially dangerous zig user optionsMarc Tiehuis2018-09-11
| | | | | | | | `--cache-dir` modifies the output cache directory `--name` modifies the output name `--output(-h)?` modifiers the output generated path/header `--verbose-*` emits compiler debug output and is not relevant `--mllvm` forwards arguments directly to llvm
* Add zig supportMarc Tiehuis2018-09-09