Christoffer Lerno

Results 1219 comments of Christoffer Lerno

Regarding your worries about the standard library, only types and functions marked as used are actually compiled. You can test this using `--strip-unused=no` and using `compile-only` to get all the...

> > Regarding your worries about the standard library, only types and functions marked as used are actually compiled. > > Do you mean "used in the same module"? No,...

On MacOS, the binary size dropped by 70 kb. The remaining code that is compiled (besides the hello world) is some int128 support code. If I add `--use-stdlib=no` on top...

@lem0nify You need the lld library files as well. So import LLD on top of LLVM.

Do you have any settings in `project.json` that might be affecting the behaviour? -Oz should update the defaults to `--safe=no --panic-msg=no --show-backtrace=no`. However, if your target has any of those...

Does removing "opt" do anything?

There was a bug which I fixed now in `master`. See if it helps.

@lem0nify can you verify that -Oz at the command line is enough now?

Great! Do we need to try to make it smaller?

I probably do. It would be nice to strip it further if possible though