diff options
| author | Arnau Orriols <arnauorriolsmiro@gmail.com> | 2022-09-07 08:53:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-07 12:23:56 +0530 |
| commit | 8bdc3c2bafa9bdfcd6bfaf94b97b960843908ae9 (patch) | |
| tree | a0019bf3f8432200583dc74093157374605bba7d /Cargo.lock | |
| parent | 5819fef2d53b4e2db6060edb8501a5af73235098 (diff) | |
feat(ext/ffi): Implement FFI fast-call trampoline with Dynasmrt (#15305)
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 7a35eafd2..fba504067 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1035,6 +1035,7 @@ version = "0.54.0" dependencies = [ "deno_core", "dlopen", + "dynasmrt", "libffi", "serde", "tokio", @@ -1468,6 +1469,32 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21e50f3adc76d6a43f5ed73b698a87d0760ca74617f60f7c3b879003536fdd28" [[package]] +name = "dynasm" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "add9a102807b524ec050363f09e06f1504214b0e1c7797f64261c891022dce8b" +dependencies = [ + "bitflags", + "byteorder", + "lazy_static", + "proc-macro-error", + "proc-macro2 1.0.39", + "quote 1.0.18", + "syn 1.0.96", +] + +[[package]] +name = "dynasmrt" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64fba5a42bd76a17cad4bfa00de168ee1cbfa06a5e8ce992ae880218c05641a9" +dependencies = [ + "byteorder", + "dynasm", + "memmap2", +] + +[[package]] name = "ecdsa" version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2658,6 +2685,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] +name = "memmap2" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a79b39c93a7a5a27eeaf9a23b5ff43f1b9e0ad6b1cdd441140ae53c35613fc7" +dependencies = [ + "libc", +] + +[[package]] name = "memoffset" version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -4590,6 +4626,7 @@ dependencies = [ name = "test_ffi" version = "0.1.0" dependencies = [ + "pretty_assertions", "test_util", ] |
