Skip to content

Commit a53495a

Browse files
committed
Add comment
1 parent 9131ece commit a53495a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* TODO(antoyo): support LTO (gcc's equivalent to Full LTO is -flto -flto-partition=one — https://documentation.suse.com/sbp/all/html/SBP-GCC-10/index.html).
55
* For Thin LTO, this might be helpful:
66
* In gcc 4.6 -fwhopr was removed and became default with -flto. The non-whopr path can still be executed via -flto-partition=none.
7+
* Or the new incremental LTO?
78
*
89
* Maybe some missing optizations enabled by rustc's LTO is in there: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
910
* Like -fipa-icf (should be already enabled) and maybe -fdevirtualize-at-ltrans.
@@ -29,6 +30,7 @@
2930
#![warn(unused_lifetimes)]
3031
#![deny(rustc::untranslatable_diagnostic)]
3132
#![deny(rustc::diagnostic_outside_of_impl)]
33+
#![deny(clippy::pattern_type_mismatch)]
3234

3335
extern crate rustc_apfloat;
3436
extern crate rustc_ast;

0 commit comments

Comments
 (0)