]> git.lizzy.rs Git - rust.git/commit
lint: warn about #[no_mangle] fns that aren't exported
authorRicho Healey <richo@psych0tik.net>
Wed, 21 Jan 2015 20:07:03 +0000 (12:07 -0800)
committerRicho Healey <richo@psych0tik.net>
Fri, 30 Jan 2015 05:32:00 +0000 (21:32 -0800)
commit44ff72195e0a5a3b0bfd4b8b3cef919cfa9661ef
treeaf5080857a005797ea6e5d0e22cddc5d5db9319b
parent52c74e63dacd49017b19330e0cbecbac0a3fe62e
lint: warn about #[no_mangle] fns that aren't exported

The usecase is that functions made visible to systems outside of the
rust ecosystem require the symbol to be visible.
src/librustc/lint/builtin.rs
src/librustc/lint/context.rs