Load the standard library
authorLuke Lau <luke_lau@icloud.com>
Sat, 9 Nov 2019 18:01:45 +0000 (18:01 +0000)
committerLuke Lau <luke_lau@icloud.com>
Sat, 9 Nov 2019 18:28:28 +0000 (18:28 +0000)
commitc0262e071b9909756911c55339ba03c78d207332
treed948f6aaa1b70ae73bfe592e18100b460f7ae53c
parente0a26bc0a8d6c8021c0a2da5bb66008a1c7a51de
Load the standard library

This is equivalent to dlopen(3), where it will load all the code and
symbols from our standard library into our process. We need to do this
so that later on we can call standard library functions whilst JITing.

If you went down the statically linked route, you still need to call
this with Nothing to expose the symbols to LLVM.
Main.hs