diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-08-30 17:27:35 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-19 06:56:52 +1000 |
| commit | 25211894386a34db1639fbd69680e8f7b35ee1a4 (patch) | |
| tree | b07397349a894fa699c22e70f520a9026363f4d2 /src/test/incremental/thinlto | |
| parent | d264a56068d7fd881b2e082c4d80d81d22c4ce79 (diff) | |
| download | rust-25211894386a34db1639fbd69680e8f7b35ee1a4.tar.gz rust-25211894386a34db1639fbd69680e8f7b35ee1a4.zip | |
Add a comment to `Compiler::compile()`.
`Compiler::compile()` is different to all the other `Compiler` methods because it lacks a `Queries` entry. It only has one call site, which is in a test that doesn't need its specific characteristics. This patch replaces that call with a call to `Compile::link()`, which is similar enough for the test's purposes. It also notes that the method is an illustrative example of how `Compiler` can be used.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
