Explorar o código

Add a whitelist of included files in packaging

Alex Crichton %!s(int64=6) %!d(string=hai) anos
pai
achega
352f93e2a9
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      Cargo.toml

+ 10 - 0
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]