]> git.lizzy.rs Git - rust.git/blobdiff - Readme.md
Ignore unsupported test
[rust.git] / Readme.md
index 6848ce7809088c8c8b6f0794ecbab55ef71ad9e0..08f9373be6262ba35226ceb02fb0a3f5aba22be8 100644 (file)
--- a/Readme.md
+++ b/Readme.md
@@ -42,11 +42,12 @@ $ $cg_clif_dir/build/cargo.sh build
 
 This will build your project with rustc_codegen_cranelift instead of the usual LLVM backend.
 
-For additional ways to use rustc_codegen_cranelift like the JIT mode see [full_usage.md](docs/full_usage.md).
+For additional ways to use rustc_codegen_cranelift like the JIT mode see [usage.md](docs/usage.md).
 
-## Env vars
+## Configuration
 
-See [env_vars.md](docs/env_vars.md) for all env vars used by rustc_codegen_cranelift.
+See the documentation on the `BackendConfig` struct in [config.rs](src/config.rs) for all
+configuration options.
 
 ## Not yet supported
 
@@ -55,3 +56,20 @@ See [env_vars.md](docs/env_vars.md) for all env vars used by rustc_codegen_crane
       `llvm_asm!` will remain unimplemented forever. `asm!` doesn't yet support reg classes. You
       have to specify specific registers instead.
 * SIMD ([tracked here](https://github.com/bjorn3/rustc_codegen_cranelift/issues/171), some basic things work)
+
+## License
+
+Licensed under either of
+
+  * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
+    http://www.apache.org/licenses/LICENSE-2.0)
+  * MIT license ([LICENSE-MIT](LICENSE-MIT) or
+    http://opensource.org/licenses/MIT)
+
+at your option.
+
+### Contribution
+
+Unless you explicitly state otherwise, any contribution intentionally submitted
+for inclusion in the work by you shall be dual licensed as above, without any
+additional terms or conditions.