Gentoo Archives: gentoo-dev

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-dev@l.g.o
Cc: rust@g.o
Subject: [gentoo-dev] Rust flags
Date: Tue, 14 May 2019 16:16:24
Message-Id: 20190514191552.fd43c8a4cd705fe0e5ffcf0a@gentoo.org
1 Hi all!
2
3 Looks like rustc supports target CPU and optlevel options, e.g.
4 rustc -C target-cpu=skylake -C opt-level=3
5 as well as more fine-grade optimizations.
6
7 But I see no way to specify them when building rust software.
8 Am I missing something? Is there any reason for not providing
9 something like RUSTFLAGS?
10
11 Best regards,
12 Andrew Savchenko

Replies

Subject Author
[gentoo-dev] Re: Rust flags Georgy Yakovlev <gyakovlev@g.o>