From 352f93e2a9e3b770405168ea6690b68567e76e5e Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 21 Nov 2018 12:57:14 -0800 Subject: [PATCH] Add a whitelist of included files in packaging --- Cargo.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5b9469b..13d0b18 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,16 @@ description = """ Compiler intrinsics used by the Rust compiler. Also available for other targets if necessary! """ +include = [ + '/Cargo.toml', + '/build.rs', + '/src/*', + '/examples/*', + '/LICENSE.txt', + '/README.md', + '/compiler-rt/*', + '/libm/src/math/*', +] links = 'compiler-rt' [lib]