2020-03-06 01:45:48 +03:00
|
|
|
[package]
|
2020-03-07 02:15:38 +03:00
|
|
|
name = "roc_gen"
|
2020-03-06 01:45:48 +03:00
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Richard Feldman <oss@rtfeldman.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[dependencies]
|
2020-03-07 02:15:38 +03:00
|
|
|
roc_collections = { path = "../collections" }
|
|
|
|
roc_region = { path = "../region" }
|
|
|
|
roc_module = { path = "../module" }
|
|
|
|
roc_problem = { path = "../problem" }
|
|
|
|
roc_types = { path = "../types" }
|
|
|
|
roc_builtins = { path = "../builtins" }
|
|
|
|
roc_constrain = { path = "../constrain" }
|
|
|
|
roc_uniq = { path = "../uniq" }
|
|
|
|
roc_unify = { path = "../unify" }
|
|
|
|
roc_solve = { path = "../solve" }
|
|
|
|
roc_mono = { path = "../mono" }
|
2020-03-06 01:45:48 +03:00
|
|
|
im = "14" # im and im-rc should always have the same version!
|
|
|
|
im-rc = "14" # im and im-rc should always have the same version!
|
2020-03-07 19:20:35 +03:00
|
|
|
bumpalo = { version = "3.2", features = ["collections"] }
|
2020-03-06 01:45:48 +03:00
|
|
|
inlinable_string = "0.1.0"
|
2020-03-09 00:20:54 +03:00
|
|
|
# NOTE: rtfeldman/inkwell is a fork of TheDan64/inkwell which does not change anything.
|
2020-03-06 01:45:48 +03:00
|
|
|
#
|
2020-03-09 00:20:54 +03:00
|
|
|
# The reason for this fork is that the way Inkwell is designed, you have to use
|
|
|
|
# a particular branch (e.g. "llvm8-0") in Cargo.toml. That would be fine, except that
|
|
|
|
# breaking changes get pushed directly to that branch, which breaks our build
|
|
|
|
# without warning.
|
|
|
|
#
|
|
|
|
# We tried referencing a specific rev on TheDan64/inkwell directly (instead of branch),
|
|
|
|
# but although that worked locally, it did not work on GitHub Actions. (After a few
|
|
|
|
# hours of investigation, gave up trying to figure out why.) So this is the workaround:
|
|
|
|
# having an immutable tag on the rtfeldman/inkwell fork which points to
|
|
|
|
# a particular "release" of Inkwell.
|
|
|
|
#
|
|
|
|
# When we want to update Inkwell, we can sync up rtfeldman/inkwell to the latest
|
|
|
|
# commit of TheDan64/inkwell, push a new tag which points to the latest commit,
|
|
|
|
# change the tag value in this Cargo.toml to point to that tag, and `cargo update`.
|
|
|
|
# This way, GitHub Actions works and nobody's builds get broken.
|
|
|
|
inkwell = { git = "https://github.com/rtfeldman/inkwell", tag = "llvm8-0.release1" }
|
2020-03-06 01:45:48 +03:00
|
|
|
target-lexicon = "0.10" # NOTE: we must use the same version of target-lexicon as cranelift!
|
|
|
|
cranelift = "0.59" # All cranelift crates should have the same version!
|
|
|
|
cranelift-simplejit = "0.59" # All cranelift crates should have the same version!
|
|
|
|
cranelift-module = "0.59" # All cranelift crates should have the same version!
|
|
|
|
cranelift-codegen = "0.59" # All cranelift crates should have the same version!
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-03-07 02:15:38 +03:00
|
|
|
roc_can = { path = "../can" }
|
|
|
|
roc_parse = { path = "../parse" }
|
2020-03-06 01:45:48 +03:00
|
|
|
pretty_assertions = "0.5.1 "
|
|
|
|
maplit = "1.0.1"
|
|
|
|
indoc = "0.3.3"
|
|
|
|
quickcheck = "0.8"
|
|
|
|
quickcheck_macros = "0.8"
|
2020-03-07 02:15:38 +03:00
|
|
|
tokio = { version = "0.2", features = ["blocking", "fs", "sync", "rt-threaded"] }
|
2020-03-07 19:20:35 +03:00
|
|
|
bumpalo = { version = "3.2", features = ["collections"] }
|