moved crates in lib/ to src/, renamed crates, modified some files' text (#660)
moved crates in lib/ to src/, renamed crates, modified some files' text (#660)
This commit is contained in:
@@ -88,7 +88,7 @@ build.
|
||||
|
||||
Our Python code is checked with [mypy](http://mypy-lang.org/) and
|
||||
[flake8](http://flake8.pycqa.org/en/latest/); see the
|
||||
[check.sh](https://github.com/CraneStation/cranelift/blob/master/lib/codegen/meta-python/check.sh)
|
||||
[check.sh](https://github.com/CraneStation/cranelift/blob/master/cranelift-codegen/meta-python/check.sh)
|
||||
file for details. The versions available in common package repositories such
|
||||
as Ubuntu or Homebrew typically work fine.
|
||||
|
||||
|
||||
@@ -15,19 +15,19 @@ path = "src/clif-util.rs"
|
||||
|
||||
[dependencies]
|
||||
cfg-if = "0.1"
|
||||
cranelift-codegen = { path = "lib/codegen", version = "0.28.0" }
|
||||
cranelift-entity = { path = "lib/entity", version = "0.28.0" }
|
||||
cranelift-reader = { path = "lib/reader", version = "0.28.0" }
|
||||
cranelift-frontend = { path = "lib/frontend", version = "0.28.0" }
|
||||
cranelift-serde = { path = "lib/serde", version = "0.28.0", optional = true }
|
||||
cranelift-wasm = { path = "lib/wasm", version = "0.28.0", optional = true }
|
||||
cranelift-native = { path = "lib/native", version = "0.28.0" }
|
||||
cranelift-filetests = { path = "lib/filetests", version = "0.28.0" }
|
||||
cranelift-module = { path = "lib/module", version = "0.28.0" }
|
||||
cranelift-faerie = { path = "lib/faerie", version = "0.28.0" }
|
||||
cranelift-simplejit = { path = "lib/simplejit", version = "0.28.0" }
|
||||
cranelift-preopt = { path = "lib/preopt", version = "0.28.0" }
|
||||
cranelift = { path = "lib/umbrella", version = "0.28.0" }
|
||||
cranelift-codegen = { path = "cranelift-codegen", version = "0.28.0" }
|
||||
cranelift-entity = { path = "cranelift-entity", version = "0.28.0" }
|
||||
cranelift-reader = { path = "cranelift-reader", version = "0.28.0" }
|
||||
cranelift-frontend = { path = "cranelift-frontend", version = "0.28.0" }
|
||||
cranelift-serde = { path = "cranelift-serde", version = "0.28.0", optional = true }
|
||||
cranelift-wasm = { path = "cranelift-wasm", version = "0.28.0", optional = true }
|
||||
cranelift-native = { path = "cranelift-native", version = "0.28.0" }
|
||||
cranelift-filetests = { path = "cranelift-filetests", version = "0.28.0" }
|
||||
cranelift-module = { path = "cranelift-module", version = "0.28.0" }
|
||||
cranelift-faerie = { path = "cranelift-faerie", version = "0.28.0" }
|
||||
cranelift-simplejit = { path = "cranelift-simplejit", version = "0.28.0" }
|
||||
cranelift-preopt = { path = "cranelift-preopt", version = "0.28.0" }
|
||||
cranelift = { path = "cranelift-umbrella", version = "0.28.0" }
|
||||
filecheck = "0.4.0"
|
||||
clap = "2.32.0"
|
||||
serde = "1.0.8"
|
||||
|
||||
@@ -104,7 +104,7 @@ feature. This currently requires nightly rust.
|
||||
For example, to build \`cranelift-codegen\`:
|
||||
|
||||
``` {.sourceCode .sh}
|
||||
cd lib/codegen
|
||||
cd cranelift-codegen
|
||||
cargo build --no-default-features --features core
|
||||
```
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ keywords = ["btree", "forest", "set", "map"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-entity = { path = "../entity", version = "0.28.0", default-features = false }
|
||||
cranelift-entity = { path = "../cranelift-entity", version = "0.28.0", default-features = false }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -13,8 +13,8 @@ build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-entity = { path = "../entity", version = "0.28.0", default-features = false }
|
||||
cranelift-bforest = { path = "../bforest", version = "0.28.0", default-features = false }
|
||||
cranelift-entity = { path = "../cranelift-entity", version = "0.28.0", default-features = false }
|
||||
cranelift-bforest = { path = "../cranelift-bforest", version = "0.28.0", default-features = false }
|
||||
failure = { version = "0.1.1", default-features = false, features = ["derive"] }
|
||||
failure_derive = { version = "0.1.1", default-features = false }
|
||||
hashmap_core = { version = "0.1.9", optional = true }
|
||||
@@ -1,7 +1,7 @@
|
||||
// Build script.
|
||||
//
|
||||
// This program is run by Cargo when building lib/codegen. It is used to generate Rust code from
|
||||
// the language definitions in the lib/codegen/meta directory.
|
||||
// This program is run by Cargo when building cranelift-codegen. It is used to generate Rust code from
|
||||
// the language definitions in the cranelift-codegen/meta directory.
|
||||
//
|
||||
// Environment:
|
||||
//
|
||||
@@ -1,6 +1,6 @@
|
||||
# Second-level build script.
|
||||
#
|
||||
# This script is run from lib/codegen/build.rs to generate Rust files.
|
||||
# This script is run from cranelift-codegen/build.rs to generate Rust files.
|
||||
|
||||
from __future__ import absolute_import
|
||||
import argparse
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Generate build dependencies for Cargo.
|
||||
|
||||
The `build.py` script is invoked by cargo when building lib/codegen to
|
||||
The `build.py` script is invoked by cargo when building cranelift-codegen to
|
||||
generate Rust code from the instruction descriptions. Cargo needs to know when
|
||||
it is necessary to rerun the build script.
|
||||
|
||||
@@ -9,7 +9,7 @@ readme = "README.md"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-entity = { path = "../../entity", version = "0.28.0" }
|
||||
cranelift-entity = { path = "../../cranelift-entity", version = "0.28.0" }
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "experimental" }
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user