Good first issue right here: https://github.com/roc-lang/roc/issues/8533
I already pushed a PR fixing this, sorry! :sweat_smile:
(also fwiw I don't think it turned out to be actually a good first issue - turned out we were still using a "quick & dirty" hack for getting pf out of these headers instead of using our actual parser)
Anton has marked this topic as resolved.
Richard Feldman said:
(also fwiw I don't think it turned out to be actually a good first issue - turned out we were still using a "quick & dirty" hack for getting
pfout of these headers instead of using our actual parser)
Are you using the parser now? Because I also noticed you have to use pf as the platform name.
(I'm partial to having the name be different for each use case, cli for basic-cli, web for basic-webserver, w4 for wasm4. Though I might be alone in this fight :sweat_smile:)
I'm pretty sure pf isn't special or anything, I also like web cli or using other names for the platform
it was special in the old logic, which looks like it was intended to be a placeholder - it was super brittle and basically a regex that looked for pf among other things, wasn't actually using the full parser :laughing:
I actually thought I'd like cli or web better, but after trying both I'm back on pf - I just like the "don't think about it, it came from the platform so use pf" aspect - e.g. the muscle memory of always writing pf.Http no matter what I'm building
Last updated: Dec 21 2025 at 12:15 UTC