diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2024-02-11 23:29:09 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2024-02-11 23:29:09 -0700 |
commit | 33197faf9b626acb6c2815786e6caa316df64a33 (patch) | |
tree | 7961e2a00bbc9ce84c4d63aaa40271eac5f7cd4a /harness/src/plugin.c | |
parent | e008ac8d837ad11557c7625f3c311f230986d7f5 (diff) | |
download | wetterhorn-33197faf9b626acb6c2815786e6caa316df64a33.tar.gz wetterhorn-33197faf9b626acb6c2815786e6caa316df64a33.tar.bz2 wetterhorn-33197faf9b626acb6c2815786e6caa316df64a33.zip |
Move Main.hs to Config.hs and override _start()
Now if one tries to execute the built binary with 'stack run' or by just
executing it, a helpful message prints to the screen instead of the
segmentation fault that normally happens.
This technically makes things not portable to other architectures, but
it's all just window dressing and can be taken out if need be for other
architectures.
Diffstat (limited to 'harness/src/plugin.c')
0 files changed, 0 insertions, 0 deletions