Comment

Comment by pat_shaughnessy

I tried that while researching the article, but found the call to "puts" doesn't link without the standard library code. And without a "puts" or similar call to produce output LLVM optimized the entire program away :)

I suppose this could work if, as you suggest, I manually called out to a lib_c function like printf instead.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton