CVSROOT: /cvs Module name: ports Changes by: sema...@cvs.openbsd.org 2020/06/09 00:51:59
Modified files: devel/cargo : cargo.port.mk Log message: moves compilations options setting from Cargo.toml (a file from the port) to .cargo/config file (a generated file) the current version of cargo will look at the profile here too (it wasn't the case when first commited), and it permits to avoid automatic modification of the source file. the compilation options used are based on release profile (https://doc.rust-lang.org/cargo/reference/profiles.html#release) with only 'opt-level' difference ('2' instead of '3')