aboutsummaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authorMustafa Quraish <[email protected]>2022-02-05 02:08:13 -0500
committerMustafa Quraish <[email protected]>2022-02-05 08:56:15 -0500
commit20d6e4f5710c3260eaab6a9b836acef64a9f9611 (patch)
treeac9e14d174ade66236ac8352446ec4e146f50799 /src/parser.c
parentAdd `OS_IS_MACOS` and `OS_IS_LINUX` constants as builtins (diff)
downloadcup-20d6e4f5710c3260eaab6a9b836acef64a9f9611.tar.xz
cup-20d6e4f5710c3260eaab6a9b836acef64a9f9611.zip
Handle command-line arguments properly on linux
Turns out they're supposed to be accessed on the stack there. For macOS, because 16 byte-alignment is "required", we don't know the exact position of the arguments and that they're also passed in through `rdi` and `rsi`
Diffstat (limited to 'src/parser.c')
0 files changed, 0 insertions, 0 deletions