Conversation

Charlotte lotteheartplural/Cinny cinny_heart_plural thetadelta ursaminor treblesand

typeck: 3.16s
eval_to_allocation_raw: 2.92s
expand_proc_macro: 16.16s
LLVM_module_codegen_emit_obj: 1.92s

someone who is good in this economy please help me budget this. my builds are dying

1
1
0

@charlotte sorry we don't have time to implement variadic generics, just use macros instead, ItS fInE

1
0
0

@cloudhop the proc macro i am using would not have been necessary if david “i don’t regret working for palantir” tolnay didn’t racistly run thephd out of rust

2
0
1

@cloudhop anyways the solution was to turn on optimization for proc macros which

why is that not on by default

1
0
1

@charlotte wait what is this something i can turn on???????

1
0
0

@cloudhop

[profile.dev.build-override]
opt-level = 3

[profile.release.build-override]
opt-level = 3

in your root cargo.toml

the second one is necessary because at some point they turned off optimizations of build deps in release builds

1
0
1

@charlotte thanks! sadly my current project is clearly not bottlenecked by macros :C

0
0
1