Re: devel/cargo: change few default build options

2020-06-09 Thread Sebastien Marie
Hi, I am replying to both at once. I commited a slightly different version of the diff. Only changing 'opt-level' for now. On Fri, Jun 05, 2020 at 02:48:00PM +0200, Leo Unglaub wrote: > Hey, > i have a question about that change. Is there a reason to disable LTO? I > always enable it for my Rust

Re: devel/cargo: change few default build options

2020-06-06 Thread Laurence Tratt
On Fri, Jun 05, 2020 at 09:31:42AM +0200, Sebastien Marie wrote: Hello Sebastien, A few thoughts on default Cargo options for release compilation: take them for what they're worth, which might not be very much! > + echo "overflow-checks = false" >>${WRKDIR}/.cargo/config; \ Personally I wou

Re: devel/cargo: change few default build options

2020-06-05 Thread Leo Unglaub
Hey, i have a question about that change. Is there a reason to disable LTO? I always enable it for my Rust projects and it works very well. If you dont mind me asking, what is the reason behind that default? Thanks and greetings Leo Am 05.06.2020 um 09:31 schrieb Sebastien Marie: Hi, I woul

devel/cargo: change few default build options

2020-06-05 Thread Sebastien Marie
Hi, I would like to commit the following diff to devel/cargo, which control the build "profile" of rust ports: Index: cargo.port.mk === RCS file: /cvs/ports/devel/cargo/cargo.port.mk,v retrieving revision 1.16 diff -u -p -r1.16 carg