Skip to content

Commit

Permalink
Bump c2rust version to 0.14.0 (#222)
Browse files Browse the repository at this point in the history
* Update dependency patch versions

* Update crates.io README instructions for 0.14.0 release

* Bump c2rust version to 0.14
  • Loading branch information
rinon authored Dec 18, 2019
1 parent cb1495b commit 652104a
Show file tree
Hide file tree
Showing 9 changed files with 74 additions and 74 deletions.
106 changes: 53 additions & 53 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,28 @@ C2Rust requires LLVM 6, 7, or 8 with its corresponding clang compiler and librar

Finally, installing the correct nightly Rust compiler with [Rustup](https://rustup.rs/) is required on all platforms. You will also need to add `rustfmt`:

rustup install nightly-2019-10-04
rustup component add --toolchain nightly-2019-10-04 rustfmt
rustup install nightly-2019-12-05
rustup component add --toolchain nightly-2019-12-05 rustfmt


### Installing from crates.io

cargo +nightly-2019-10-04 install c2rust
cargo +nightly-2019-12-05 install c2rust

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

LLVM_CONFIG_PATH=/usr/local/opt/llvm/bin/llvm-config cargo +nightly-2019-10-04 install c2rust
LLVM_CONFIG_PATH=/usr/local/opt/llvm/bin/llvm-config cargo +nightly-2019-12-05 install c2rust

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

LLVM_CONFIG_PATH=/home/linuxbrew/.linuxbrew/opt/llvm/bin/llvm-config cargo +nightly-2019-10-04 install c2rust
LLVM_CONFIG_PATH=/home/linuxbrew/.linuxbrew/opt/llvm/bin/llvm-config cargo +nightly-2019-12-05 install c2rust

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

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

LLVM_CONFIG_PATH=/path/to/llvm-config LIBCLANG_PATH=/path/to/libclang.so cargo +nightly-2019-10-04 install c2rust
LLVM_CONFIG_PATH=/path/to/llvm-config LIBCLANG_PATH=/path/to/libclang.so cargo +nightly-2019-12-05 install c2rust


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.
Expand Down
2 changes: 1 addition & 1 deletion c2rust-ast-builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "c2rust-ast-builder"
version = "0.13.0"
version = "0.14.0"
authors = [
"The C2Rust Project Developers <c2rust@immunant.com>",
"Eric Mertens <emertens@galois.com>",
Expand Down
2 changes: 1 addition & 1 deletion c2rust-ast-exporter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "c2rust-ast-exporter"
version = "0.13.0"
version = "0.14.0"
authors = [
"The C2Rust Project Developers <c2rust@immunant.com>",
"Eric Mertens <emertens@galois.com>",
Expand Down
2 changes: 1 addition & 1 deletion c2rust-ast-printer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "c2rust-ast-printer"
version = "0.13.0"
version = "0.14.0"
authors = ["The Rust Project Developers", "Stephen Crane <sjc@immunant.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion c2rust-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "c2rust-macros"
version = "0.11.0"
version = "0.14.0"
authors = ["Stephen Crane <sjc@immunant.com>", "The C2Rust Project Developers <c2rust@immunant.com>"]
edition = "2018"
description = "Procedural macro support crate for C2Rust"
Expand Down
8 changes: 4 additions & 4 deletions c2rust-refactor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "c2rust-refactor"
version = "0.13.0"
version = "0.14.0"
authors = [
"The C2Rust Project Developers <c2rust@immunant.com>",
"Stuart Pernsteiner <spernsteiner@galois.com>",
Expand All @@ -18,8 +18,8 @@ json = "0.12"
libc = "0.2"
regex = "1.1"
ena = "0.13"
c2rust-ast-builder = { version = "0.13.0", path = "../c2rust-ast-builder" }
c2rust-ast-printer = { version = "0.13.0", path = "../c2rust-ast-printer" }
c2rust-ast-builder = { version = "0.14.0", path = "../c2rust-ast-builder" }
c2rust-ast-printer = { version = "0.14.0", path = "../c2rust-ast-printer" }
indexmap = { version = "1.0.1", features = ["serde-1"] }
cargo = "0.40"
clap = {version = "2.33", features = ["yaml"]}
Expand All @@ -28,7 +28,7 @@ log = "0.4"
rlua = "0.17"
slotmap = {version = "0.4", features = ["unstable"]}
derive_more = "0.99"
c2rust-macros = { version = "0.11.0", path = "../c2rust-macros" }
c2rust-macros = { version = "0.14.0", path = "../c2rust-macros" }
flame = { version = "0.2.2", optional = true }
flamer = { version = "0.4", optional = true }

Expand Down
8 changes: 4 additions & 4 deletions c2rust-transpile/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "c2rust-transpile"
version = "0.13.0"
version = "0.14.0"
authors = [
"The C2Rust Project Developers <c2rust@immunant.com>",
"Eric Mertens <emertens@galois.com>",
Expand All @@ -21,10 +21,10 @@ serde_derive = "1.0.80"
serde_bytes = "0.11"
serde_bencode = "0.2"
indexmap = { version = "1.0.1", features = ["serde-1"] }
c2rust-ast-builder = { version = "0.13.0", path = "../c2rust-ast-builder" }
c2rust-ast-builder = { version = "0.14.0", path = "../c2rust-ast-builder" }
libc = "0.2"
c2rust-ast-exporter = { version = "0.13.0", path = "../c2rust-ast-exporter" }
c2rust-ast-printer = { version = "0.13.0", path = "../c2rust-ast-printer" }
c2rust-ast-exporter = { version = "0.14.0", path = "../c2rust-ast-exporter" }
c2rust-ast-printer = { version = "0.14.0", path = "../c2rust-ast-printer" }
handlebars = "2.0"
itertools = "0.8"
pathdiff = "0.1.0"
Expand Down
6 changes: 3 additions & 3 deletions c2rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "c2rust"
description = "C to Rust translation, refactoring, and cross-checking"
version = "0.13.0"
version = "0.14.0"
authors = ["The C2Rust Project Developers <c2rust@immunant.com>"]
license = "BSD-3-Clause"
homepage = "https://c2rust.com/"
Expand All @@ -21,8 +21,8 @@ log = "0.4"
env_logger = "0.7"
regex = "1.3"
shlex = "0.1"
c2rust-transpile = { version = "0.13.0", path = "../c2rust-transpile" }
c2rust-refactor = { version = "0.13.0", path = "../c2rust-refactor" }
c2rust-transpile = { version = "0.14.0", path = "../c2rust-transpile" }
c2rust-refactor = { version = "0.14.0", path = "../c2rust-refactor" }

[build-dependencies]
rustc_version = "0.2"
Expand Down

0 comments on commit 652104a

Please sign in to comment.