diff options
| author | Austin Hicks <camlorn@camlorn.net> | 2017-03-08 16:28:47 -0500 |
|---|---|---|
| committer | Simonas Kazlauskas <git@kazlauskas.me> | 2017-04-11 14:36:08 +0300 |
| commit | 0931e2006a5f8fd88032247ea543239c628cf10c (patch) | |
| tree | 41d466584c7ca883e51c664522ee82ef2e53a481 /src | |
| parent | 98eb121b7a748fd2668bf03ace8307be2880955f (diff) | |
| download | rust-0931e2006a5f8fd88032247ea543239c628cf10c.tar.gz rust-0931e2006a5f8fd88032247ea543239c628cf10c.zip | |
Initial attempt at implementing optimization fuel and re-enabling struct field reordering.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/session/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/session/mod.rs b/src/librustc/session/mod.rs index 1be7d1afe45..b32d05971ff 100644 --- a/src/librustc/session/mod.rs +++ b/src/librustc/session/mod.rs @@ -522,7 +522,7 @@ impl Session { duration_to_secs_str(self.perf_stats.decode_def_path_tables_time.get())); } - /// We want to know if we're allowed to do an optimization for crate foo from -z fuel=foo=n. + /// We want to know if we're allowed to do an optimization for crate crate. /// This expends fuel if applicable, and records fuel if applicable. pub fn consider_optimizing<T: Fn() -> String>(&self, crate_name: &str, msg: T) -> bool { let mut ret = true; |
