mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 07:17:50 +03:00
32 lines
1.3 KiB
TOML
32 lines
1.3 KiB
TOML
[package]
|
|
name = "inkwell"
|
|
version = "0.1.0"
|
|
authors = ["The Roc Contributors"]
|
|
license = "UPL-1.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
# NOTE: rtfeldman/inkwell is a fork of TheDan64/inkwell which does not change anything.
|
|
#
|
|
# 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 = "llvm12-0.release5", features = [ "llvm12-0" ] }
|
|
|
|
[features]
|
|
target-arm = []
|
|
target-aarch64 = []
|
|
target-webassembly = []
|