about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorSébastien Marie <semarie@users.noreply.github.com>2015-02-05 15:24:17 +0100
committerSébastien Marie <semarie@users.noreply.github.com>2015-02-05 16:37:39 +0100
commit5ad3488f29bbccfcee074bb0f3971acec97cfc45 (patch)
tree9d7616c97351f2cd6f43440a7f4be13a828c87ae /src/test/codegen/stack-alloc-string-slice.rs
parent2bd8ec2d197809fc0f0efccf1de14419ffb17b2b (diff)
downloadrust-5ad3488f29bbccfcee074bb0f3971acec97cfc45.tar.gz
rust-5ad3488f29bbccfcee074bb0f3971acec97cfc45.zip
unbreak tree for openbsd after #21787
- add `_SC_GETPW_R_SIZE_MAX` constant
- declare `struct passwd`
- convert `load_self` to `current_exe`

Note: OpenBSD don't provide system function to return a valuable Path
for `env::current_exe`. The implementation is currently based on the
value of `argv[0]`, which couldn't be used when executable is called via
PATH.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions