zig/lib/std
Jakub Konka a08137330c macho: handle -install_name option for dylibs/MachO
The status quo for the `build.zig` build system is preserved in
the sense that, if the user does not explicitly override
`dylib.setInstallName(...);` in their build script, the default
of `@rpath/libname.dylib` applies. However, should they want to
override the default behaviour, they can either:

1) unset it with

```dylib.setIntallName(null);```

2) set it to an explicit string with

```dylib.setInstallName("somename.dylib");```

When it comes to the command line however, the default is not to
use `@rpath` for the install name when creating a dylib. The user
will now be required to explicitly specify the `@rpath` as part
of the desired install name should they choose so like so:

1) with `build-lib`

```
zig build-lib -dynamic foo.zig -install_name @rpath/libfoo.dylib
```

2) with `cc`

```
zig cc -shared foo.c -o libfoo.dylib -Wl,"-install_name=@rpath/libfoo.dylib"
```
2021-12-18 17:55:53 -08:00
..
atomic allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
build Add test executable builds to build.zig 2021-12-06 14:55:35 -06:00
c Added an explicit type for the termios constants (#10266) 2021-12-04 16:24:55 -05:00
compress allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
crypto allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
dwarf
event allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
fmt
fs allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
hash allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
heap std: remove double free in GPA 2021-12-01 15:19:29 -07:00
io allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
json allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
math std/math: hide internal cos/tan functions 2021-12-06 01:17:01 +13:00
mem allocator: Move vtable into gen struct 2021-12-02 11:56:32 -08:00
meta std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
net allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
os Fix MIPS inline assembly clobbers 2021-12-18 14:42:01 -08:00
rand
special init-exe template: build.zig: setTarget on the tests 2021-12-18 17:29:46 -07:00
target
testing allocgate: change resize to return optional instead of error 2021-11-30 23:45:01 +00:00
Thread libstd: fix bug in std.Thread.Futex selecting incorrect default macOS version 2021-11-25 22:20:32 +01:00
time std.time.epoch: fix issue in documentation 2021-12-16 19:08:58 -08:00
unicode
valgrind
x
zig std.zig.system: improve native glibc version detection 2021-12-13 18:05:02 -07:00
array_hash_map.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
array_list.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
ascii.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
atomic.zig
base64.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
bit_set.zig 9944: make allocator the first argument (excl. self) 2021-12-03 16:42:59 -08:00
bounded_array.zig std.bounded_array: support inserting a new value at the end (#10340) 2021-12-15 20:10:34 +01:00
buf_map.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
buf_set.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
build.zig macho: handle -install_name option for dylibs/MachO 2021-12-18 17:55:53 -08:00
builtin.zig AstGen: implement @prefetch() builtin 2021-12-10 23:09:02 +01:00
c.zig
child_process.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
coff.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
compress.zig
comptime_string_map.zig
crypto.zig
cstr.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
debug.zig macho: put LC_* consts in a typed enum(u32) LC 2021-12-15 08:59:20 +01:00
dwarf.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
dynamic_library.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
elf.zig improve musl dynamic stubs file libc.s 2021-12-08 22:32:31 -07:00
enums.zig
event.zig
fifo.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
fmt.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
fs.zig stage2: improve handling of the generated file builtin.zig 2021-12-06 23:30:18 -08:00
hash.zig
hash_map.zig Revert "std: optimize hash_map probe loop condition" 2021-12-17 16:56:43 -07:00
heap.zig allocgate: change resize to return optional instead of error 2021-11-30 23:45:01 +00:00
io.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
json.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
leb128.zig
linked_list.zig
log.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
macho.zig macho: put LC_* consts in a typed enum(u32) LC 2021-12-15 08:59:20 +01:00
math.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
mem.zig allocgate: change resize to return optional instead of error 2021-11-30 23:45:01 +00:00
meta.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
multi_array_list.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
net.zig update function name in error 2021-12-02 12:35:17 -08:00
once.zig
os.zig std.os: fix error codes for execve 2021-12-15 14:23:32 -07:00
packed_int_array.zig
pdb.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
priority_dequeue.zig std.priority_dequeue: allow comparator to take a context parameter 2021-12-15 17:46:10 -08:00
priority_queue.zig std.priority_queue: allow comparator to take a context parameter 2021-12-15 17:46:04 -08:00
process.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
Progress.zig Fix test label off-by-one error (#10277). 2021-12-06 12:18:41 -08:00
rand.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
SemanticVersion.zig
sort.zig
start.zig wasm: Update wasm stage2 test backend to use 'main' 2021-11-29 08:05:51 +01:00
start_windows_tls.zig
std.zig
target.zig glibc: update default cross-compile version to 2.19 2021-12-16 03:01:13 -07:00
testing.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
Thread.zig Merge pull request #9910 from mikdusan/dragonfly 2021-12-03 17:29:55 -08:00
time.zig
unicode.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
valgrind.zig
wasm.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
x.zig
zig.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00