Skip to content

Commit 26be6fb

Browse files
authored
Merge pull request #165 from immunant/nightly-2019-09
Roll to nightly 2019-10-04
2 parents 28c9062 + 8c47c1c commit 26be6fb

File tree

117 files changed

+6108
-2124
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+6108
-2124
lines changed

Cargo.lock

Lines changed: 64 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ members = [
55
"c2rust-refactor",
66
"c2rust-ast-builder",
77
"c2rust-ast-exporter",
8+
"c2rust-ast-printer",
89
"manual/preprocessors",
910
"c2rust-bitfields",
1011
"c2rust-macros",

LICENSE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ Redistribution and use in source and binary forms, with or without modification,
99
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
1010

1111
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12+
13+
14+
Portions of C2Rust are derived from packages written by third parties. The following third party packages are included, and carry their own copyright notices and license terms:
15+
16+
* c2rust-ast-printer. Dual-licensed under Apache 2.0 and MIT, see c2rust-ast-printer/COPYRIGHT for details.

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[azure]: https://dev.azure.com/immunant/c2rust/_build/latest?definitionId=1&branchName=master
77
[Latest Version]: https://img.shields.io/crates/v/c2rust.svg
88
[crates.io]: https://crates.io/crates/c2rust
9-
[Rustc Version]: https://img.shields.io/badge/rustc-nightly--2019--06--22-lightgrey.svg "Rustc nightly-2019-06-22"
9+
[Rustc Version]: https://img.shields.io/badge/rustc-nightly--2019--10--04-lightgrey.svg "Rustc nightly-2019-10-04"
1010

1111
C2Rust helps you migrate C99-compliant code to Rust. The [translator](c2rust-transpile) (or transpiler) produces unsafe Rust code that closely mirrors the input C code. The primary goal of the translator is to preserve functionality; test suites should continue to pass after translation. Generating safe and idiomatic Rust code from C ultimately requires manual effort. However, we are building a scriptable [refactoring tool](c2rust-refactor) that reduces the tedium of doing so. You can also [cross-check](cross-checks) the translated code against the original ([tutorial](docs/cross-check-tutorial.md)).
1212

@@ -51,22 +51,22 @@ Finally, a rust installation with [Rustup](https://rustup.rs/) is required on al
5151

5252
### Installing from crates.io
5353

54-
cargo +nightly-2019-06-22 install c2rust
54+
cargo +nightly-2019-10-04 install c2rust
5555

5656
On OS X with Homebrew LLVM, you need to point the build system at the LLVM installation as follows:
5757

58-
LLVM_CONFIG_PATH=/usr/local/opt/llvm/bin/llvm-config cargo +nightly-2019-06-22 install c2rust
58+
LLVM_CONFIG_PATH=/usr/local/opt/llvm/bin/llvm-config cargo +nightly-2019-10-04 install c2rust
5959

6060
On Linux with Linuxbrew LLVM, you need to point the build system at the LLVM installation as follows:
6161

62-
LLVM_CONFIG_PATH=/home/linuxbrew/.linuxbrew/opt/llvm/bin/llvm-config cargo +nightly-2019-06-22 install c2rust
62+
LLVM_CONFIG_PATH=/home/linuxbrew/.linuxbrew/opt/llvm/bin/llvm-config cargo +nightly-2019-10-04 install c2rust
6363

6464
Note: adjust `LLVM_CONFIG_PATH` accordingly if Linuxbrew was installed to your home directory.
6565

6666
On Gentoo, you need to point the build system to the location of `libclang.so`
6767
and `llvm-config` as follows:
6868

69-
LLVM_CONFIG_PATH=/path/to/llvm-config LIBCLANG_PATH=/path/to/libclang.so cargo +nightly-2019-06-22 install c2rust
69+
LLVM_CONFIG_PATH=/path/to/llvm-config LIBCLANG_PATH=/path/to/libclang.so cargo +nightly-2019-10-04 install c2rust
7070

7171

7272
If you have trouble with building and installing, or want to build from the latest master, the [developer docs](docs/README-developers.md#building-with-system-llvm-libraries) provide more details on the build system.
@@ -76,7 +76,7 @@ If you have trouble with building and installing, or want to build from the late
7676
If you'd like to check our recently developed features or you urgently require a bugfixed version of c2rust
7777
you can install it directly from Git:
7878

79-
cargo +nightly-2019-06-22 install --git https://github.com/immunant/c2rust.git c2rust
79+
cargo +nightly-2019-10-04 install --git https://github.com/immunant/c2rust.git c2rust
8080

8181
Please note that the master branch is under constant development and you may expirience issues or crashes.
8282

0 commit comments

Comments
 (0)