pacak

Results 278 comments of pacak

Blocked on cargo https://github.com/rust-lang/cargo/issues/13672

Thin LTO for `arnis` crate makes `rustc` to produce about 950 `.s` files: ``` arnis-3243b349208c302c.8qi3mr8qju3xmfjsf34x3m992.rcgu.s arnis-3243b349208c302c.addr2line-bea85df8985bb2f0.addr2line.257eabc222133535-cgu.0.rcgu.o.rcgu.s arnis-3243b349208c302c.adler-7edbe936f6124018.adler.c05167120aaaa11-cgu.0.rcgu.o.rcgu.s arnis-3243b349208c302c.ahash-5f4e9db20a685a8b.ahash.9ea151b83c359a1d-cgu.0.rcgu.o.rcgu.s ... arnis-3243b349208c302c.console-c85db5ed6c6839da.console.b89a0426d30cb582-cgu.6.rcgu.o.rcgu.s arnis-3243b349208c302c.console-c85db5ed6c6839da.console.b89a0426d30cb582-cgu.7.rcgu.o.rcgu.s arnis-3243b349208c302c.core-1e6496089ac34c68.core.9e3ec3a99e20741e-cgu.0.rcgu.o.rcgu.s arnis-3243b349208c302c.crc32fast-e2cdbd16bb066f34.crc32fast.a5f7f5e1cc329c1d-cgu.0.rcgu.o.rcgu.s arnis-3243b349208c302c.crossbeam_deque-f35b3fcb74c4667c.crossbeam_deque.a044f344000c4a51-cgu.0.rcgu.o.rcgu.s arnis-3243b349208c302c.crossbeam_epoch-a8dd3a9032740fa4.crossbeam_epoch.e375ac55259ef9a0-cgu.0.rcgu.o.rcgu.s ... ``` Usually generated asm...

> and the contents are inside of `arnis-3243b349208c302c.core-1e6496089ac34c68.core.9e3ec3a99e20741e-cgu.0.rcgu.o.rcgu.s` But since code will be optimized at the link time later - this might not be the final code. Should we try...

`--disasm` is probably the best solution at the moment.

> Is --help --help idiomatic at all? I think I've seen it somewhere. Motivation for current behavior was something like this: - Developers can have some very detailed explanations in...

> @pacak do you perhaps have any insights? Not really. When `bpaf` detects `--help` it produces `Error::Stdout` with the help message to render, then just prints it with a single...

> How should it map? It depends. In the example I gave it should behave the same way as doc comment would behave, so something like this: ```rust fn foo()...

It's more like a TODO for myself for the next big version, if it's bothering you - I should be able to fix it sooner in the current one.

I see. I was thinking about cleaning up the derive macro anyway - it was one of the earlier derives I made - some things might be suboptimal :) This...

> Do you want to try using unsynn for the next version ? Unfortunately on average this will only make compilation slower. Even if `bpaf` doesn't pull in `syn` -...