diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2021-01-11 16:27:59 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2021-01-11 16:27:59 -0300 |
| commit | 82d0c597bf49ebdf44060f059e90315b87f7f026 (patch) | |
| tree | 567cd2fd3d6465a3bbc4fb3bfdf53c07fe52bf9a /src/test/incremental/remapped_paths_cc | |
| parent | 6526e5c772f2da07db745c94ca6bb0a591a39ba4 (diff) | |
| download | rust-82d0c597bf49ebdf44060f059e90315b87f7f026.tar.gz rust-82d0c597bf49ebdf44060f059e90315b87f7f026.zip | |
Revert "Auto merge of #76896 - spastorino:codegen-inline-fns2, r=davidtwco,wesleywiser"
This reverts commit ddf2cc7f8eb34f1a63b491d6a52e3e8208393c09, reversing changes made to 937f629535f38c655267f1ed21ce6830f592f5df.
Diffstat (limited to 'src/test/incremental/remapped_paths_cc')
| -rw-r--r-- | src/test/incremental/remapped_paths_cc/main.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/test/incremental/remapped_paths_cc/main.rs b/src/test/incremental/remapped_paths_cc/main.rs index 735635029da..b01f02444ea 100644 --- a/src/test/incremental/remapped_paths_cc/main.rs +++ b/src/test/incremental/remapped_paths_cc/main.rs @@ -1,18 +1,11 @@ // revisions:rpass1 rpass2 rpass3 -// compile-flags: -Z query-dep-graph -g -O +// compile-flags: -Z query-dep-graph -g // aux-build:extern_crate.rs // ignore-asmjs wasm2js does not support source maps yet - // This test case makes sure that we detect if paths emitted into debuginfo // are changed, even when the change happens in an external crate. -// NOTE: We're explicitly passing the `-O` optimization flag because if no optimizations are -// requested, rustc will ignore the `#[inline]` attribute. This is a performance optimization for -// non-optimized builds which causes us to generate fewer copies of inlined functions when -// runtime performance doesn't matter. Without this flag, the function will go into a different -// CGU which can be reused by this crate. - #![feature(rustc_attrs)] #![rustc_partition_reused(module="main", cfg="rpass2")] |
