update target-lexicon

This commit is contained in:
Folkert 2021-08-26 21:39:33 +02:00
parent fb6131488c
commit 36fc9b5f1f
8 changed files with 10 additions and 8 deletions

4
Cargo.lock generated
View file

@ -3916,9 +3916,9 @@ dependencies = [
[[package]] [[package]]
name = "target-lexicon" name = "target-lexicon"
version = "0.10.0" version = "0.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab0e7238dcc7b40a7be719a25365910f6807bd864f4cce6b2e6b873658e2b19d" checksum = "d9bffcddbc2458fa3e6058414599e3c838a022abae82e5c67b4f7f80298d5bff"
[[package]] [[package]]
name = "tempfile" name = "tempfile"

View file

@ -67,7 +67,7 @@ libc = "0.2"
libloading = "0.6" libloading = "0.6"
inkwell = { path = "../vendor/inkwell", optional = true } inkwell = { path = "../vendor/inkwell", optional = true }
target-lexicon = "0.10" target-lexicon = "0.12.2"
tempfile = "3.1.0" tempfile = "3.1.0"
[dev-dependencies] [dev-dependencies]

View file

@ -29,7 +29,7 @@ libloading = "0.6"
tempfile = "3.1.0" tempfile = "3.1.0"
serde_json = "1.0" serde_json = "1.0"
inkwell = { path = "../../vendor/inkwell", optional = true } inkwell = { path = "../../vendor/inkwell", optional = true }
target-lexicon = "0.10" target-lexicon = "0.12.2"
[dev-dependencies] [dev-dependencies]
pretty_assertions = "0.5.1" pretty_assertions = "0.5.1"

View file

@ -21,7 +21,7 @@ roc_mono = { path = "../mono" }
im = "14" # im and im-rc should always have the same version! 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! im-rc = "14" # im and im-rc should always have the same version!
bumpalo = { version = "3.6.1", features = ["collections"] } bumpalo = { version = "3.6.1", features = ["collections"] }
target-lexicon = "0.10" target-lexicon = "0.12.2"
libloading = "0.6" libloading = "0.6"
object = { version = "0.24", features = ["write"] } object = { version = "0.24", features = ["write"] }

View file

@ -21,7 +21,7 @@ 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! im-rc = "14" # im and im-rc should always have the same version!
bumpalo = { version = "3.6.1", features = ["collections"] } bumpalo = { version = "3.6.1", features = ["collections"] }
inkwell = { path = "../../vendor/inkwell" } inkwell = { path = "../../vendor/inkwell" }
target-lexicon = "0.10" target-lexicon = "0.12.2"
[dev-dependencies] [dev-dependencies]
roc_can = { path = "../can" } roc_can = { path = "../can" }

View file

@ -3935,6 +3935,8 @@ pub fn get_call_conventions(cc: target_lexicon::CallingConvention) -> u32 {
SystemV => C_CALL_CONV, SystemV => C_CALL_CONV,
WasmBasicCAbi => C_CALL_CONV, WasmBasicCAbi => C_CALL_CONV,
WindowsFastcall => C_CALL_CONV, WindowsFastcall => C_CALL_CONV,
AppleAarch64 => C_CALL_CONV,
_ => C_CALL_CONV,
} }
} }

View file

@ -30,7 +30,7 @@ either = "1.6.1"
indoc = "0.3.3" indoc = "0.3.3"
libc = "0.2" libc = "0.2"
inkwell = { path = "../../vendor/inkwell" } inkwell = { path = "../../vendor/inkwell" }
target-lexicon = "0.10" target-lexicon = "0.12.2"
libloading = "0.6" libloading = "0.6"
[dev-dependencies] [dev-dependencies]

View file

@ -28,7 +28,7 @@ bumpalo = { version = "3.6.1", features = ["collections"] }
either = "1.6.1" either = "1.6.1"
indoc = "0.3.3" indoc = "0.3.3"
libc = "0.2" libc = "0.2"
target-lexicon = "0.10" target-lexicon = "0.12.2"
libloading = "0.6" libloading = "0.6"
[dev-dependencies] [dev-dependencies]