This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-01-19 11:12:43 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
c0c57b3e29
rust
/
tests
/
ui
/
lto
/
fat-lto.rs
8 lines
103 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-pass
//@ compile-flags: -Clto=fat
//@ no-prefer-dynamic
rustc: Add `-C lto=val` option This commit primarily adds the ability to control what kind of LTO happens when rustc performs LTO, namely allowing values to be specified to the `-C lto` option, such as `-C lto=thin` and `-C lto=fat`. (where "fat" is the previous kind of LTO, throw everything in one giant module) Along the way this also refactors a number of fields which store information about whether LTO/ThinLTO are enabled to unify them all into one field through which everything is dispatched, hopefully removing a number of special cases throughout. This is intended to help mitigate #47409 but will require a backport as well, and this would unfortunately need to be an otherwise insta-stable option.
2018-01-16 23:02:31 +00:00
fn
main
(
)
{
println!
(
"
hello!
"
)
;
}
Reference in New Issue
Copy Permalink