Add a whitelist of included files in packaging

This commit is contained in:
Alex Crichton 2018-11-21 12:57:14 -08:00
parent b99d149051
commit 352f93e2a9
1 changed files with 10 additions and 0 deletions

View File

@ -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]