gankra

gay cat who writes your docs

Author of The Rustonomicon and Learn Rust With Entirely Too Many Linked Lists. Also I made a lot of homestuck's games.

Making rust meta-devtools at axo.dev


and contained this absolute gem that baffled tons of incredible engineers for years https://github.com/rust-lang/rust/commit/fca66702a44038b14d8f9bd282ad56c04e9fdcf6

# XXX: Don't remove the $(nop) command below!
# Yeah, that's right, it's voodoo. Something in the way this macro is being expanded
# causes it to parse incorrectly. Throwing in that empty command seems to fix the
# problem. I'm sorry, just don't remove the $(nop), alright?
define PREPARE_LIB
	$(nop)
	@$(call E, prepare: $(PREPARE_WORKING_DEST_LIB_DIR)/$(1))
    ...

You must log in to comment.