Ever wondered how to compile LLVM IR to object code? My new tutorial chapter has just landed!
miniblog.
Related Posts
Today in cursed C code:
void foo(int32_t int32_t, int32_t bar);
Since C puts identifiers and typedefs in the same namespace, this code just produces a confusing compile error about the type of bar!
(This occurred in some real code after macro expansion.)
https://elm-lang.org/news/compiler-errors-for-humans mentions the importance of layout and paragraphs for compile error messages.
Perhaps tools should do line wrapping if the terminal is very wide? It's definitely more comfortable to read.
Defining a separate tests module so rust tests compile faster: