dcavalca / fedora-rust / rust2rpm

Forked from fedora-rust/rust2rpm 2 years ago
Clone

3076bba macros: Pass -Ccodegen-units=1 in RUSTFLAGS

Authored and Committed by ignatenkobrain 5 years ago
    macros: Pass -Ccodegen-units=1 in RUSTFLAGS
    
    This has good impact on performance and binary size at cost of
    compilation time. As nice side effect, it fixes bug which breaks
    compilation of binaries in Fedora Rawhide.
    
    For example, ffsend binary went from 107M to 70M.
    
    References: https://bugzilla.redhat.com/show_bug.cgi?id=1701339
    Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
    
        
file modified
+6 -1