aboutsummaryrefslogtreecommitdiff
path: root/src/libc_installation.zig
AgeCommit message (Collapse)Author
2022-07-25std.mem: add `first` method to `SplitIterator` and `SplitBackwardsIterator`r00ster
2022-04-02stage2: remove dependencies on async functionsAndrew Kelley
This commit removes the tiny amount of dependency on async/await that the self-hosted compiler has so that it can self-host before async/await language features are working.
2022-02-06Avoid depending on child process execution when not supported by host OSCody Tapscott
In accordance with the requesting issue (#10750): - `zig test` skips any tests that it cannot spawn, returning success - `zig run` and `zig build` exit with failure, reporting the command the cannot be run - `zig clang`, `zig ar`, etc. already punt directly to the appropriate clang/lld main(), even before this change - Native `libc` Detection is not supported Additionally, `exec()` and related Builder functions error at run-time, reporting the command that cannot be run
2021-11-30allocgate: std Allocator interface refactorLee Cannon
2021-11-30std lib API deprecations for the upcoming 0.9.0 releaseAndrew Kelley
See #3811
2021-11-25Skip detecting native libc dirs on darwinJakub Konka
This is handled before by detecting and adding SDK path which is a centralised point for the native libc installation on darwin.
2021-11-15update compilation includes for haikuAl Hoang
2021-10-04migrate from `std.Target.current` to `@import("builtin").target`Andrew Kelley
closes #9388 closes #9321
2021-09-24Initial bringup of the Solaris/Illumos portStephen Gregoratto
2021-09-07Fix libc file to check against compilation target instead of native (#9670)Martin Wickham
2021-09-01stage2: update for new usingnamespace semanticsAndrew Kelley
2021-08-06Update all usages of mem.split/mem.tokenize for generic versionRyan Liptak
2021-06-09native libc detection: respect spaces in CC env varAndrew Kelley
Zig has detection for when it is accidentally being called recursively when trying to find the native libc installation. However it was not working, resulting in a cryptic failure, because zig tried to execute a command which had spaces in it rather than tokenizing it. This improves the user experience of `zig cc` for systems that Zig does not support cross-compiling for. Closes #8960
2021-06-03Breaking hash map changes for 0.8.0Martin Wickham
- hash/eql functions moved into a Context object - *Context functions pass an explicit context - *Adapted functions pass specialized keys and contexts - new getPtr() function returns a pointer to value - remove functions renamed to fetchRemove - new remove functions return bool - removeAssertDiscard deleted, use assert(remove(...)) instead - Keys and values are stored in separate arrays - Entry is now {*K, *V}, the new KV is {K, V} - BufSet/BufMap functions renamed to match other set/map types - fixed iterating-while-modifying bug in src/link/C.zig
2021-05-24stage2: remove dead code; rename crtbegin_dir to gcc_dirAndrew Kelley
2021-05-24update compilation and elf link for haiku caseAl Hoang
* for some reason part of the linkable bits for the crt libraries are split in different locations for haiku. this changeset accomodates this situation (crtbegin_dir lookup)
2021-05-24make "gnu" (mingw-w64) the default C ABI on WindowsAndrew Kelley
Closes #6565
2021-05-23housekeeping: remove `pub` from ccPrintFileName()Michael Dusan
- this was inadvertently made public while iterating on #8730
2021-05-23overhaul elf csu (c-runtime startup) logicMichael Dusan
- more support for linux, android, freebsd, netbsd, openbsd, dragonfly - centralize musl utils; musl logic is no longer intertwined with csu - fix musl compilation to build crti/crtn for full archs list - fix openbsd to support `zig build-lib -dynamic` - initial dragonfly linking success (with a warning) ancillary: - fix emutls (openbsd) tests to use `try`
2021-05-20Run `zig fmt` on src/ and lib/std/Isaac Freund
This replaces callconv(.Inline) with the more idiomatic inline keyword.
2021-05-17stage2: update `@import("builtin")` API usageAndrew Kelley
2021-04-23header path detection for haikuAl Hoang
2021-02-25initial support for haiku sync updateAl Hoang
* add cpu count * use haiku find_directory * add definitions and exports for building in haiku
2021-01-07Reduce use of deprecated IO typesJay Petacat
Related: #4917
2021-01-06std: Rename ArrayList shrink => shrinkAndFreeAlex Cameron
2021-01-02stage2: Use {s} instead of {} when formatting stringsLemonBoy
2020-11-18Merge pull request #7005 from jshholland/deprecate-spanVeikka Tuominen
Remove ArrayList.span
2020-11-07remove deprecated uses of ArrayList.spanJosh Holland
2020-11-06remove outdated commentxackus
2020-10-11add minimal openbsd supportSébastien Marie
2020-09-21rename src-self-hosted/ to src/Andrew Kelley