aboutsummaryrefslogtreecommitdiff
path: root/src/stage1
diff options
context:
space:
mode:
authormason1920 <mason1920@protonmail.com>2021-06-20 00:21:59 -0400
committerVeikka Tuominen <git@vexu.eu>2021-06-20 19:49:48 +0300
commit37a1028b6e894881b85feb3d8555cacfabbc45a2 (patch)
treef2b791659264177773eac6b27458ac170bedb765 /src/stage1
parente006281d79a31e10bdbc07b3e33427d719ec01df (diff)
downloadzig-37a1028b6e894881b85feb3d8555cacfabbc45a2.tar.gz
zig-37a1028b6e894881b85feb3d8555cacfabbc45a2.zip
Bring your own MAX_PATH_BYTES
Previous to #7082, users could overwrite PATH_MAX in the root file to support std.os.toPosixPath, permitting the "bring your own operating system" layer to implement the POSIX API for opening files. Unfortunately that is no longer the case. This commit intends to fix what is arguably a regression from 0.7 in a way that doesn't break any code targeting 0.8.0, making it suitable to be included in a 0.8 patch release. However in a future release that permits breaking changes, I am of the opinion that it would be beneficial to overwrite the value, even for "supported" operating systems. Same for all the other POSIX/BYOOS functions and values. However this is beyond the scope of this commit. Further discussion of this will be made into an issue in due time.
Diffstat (limited to 'src/stage1')
0 files changed, 0 insertions, 0 deletions