FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ctypes implementation by arihant2math · Pull Request #5488 · RustPython/RustPython · GitHub

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .c  (1) .h  (1) .lock  (1) .py  (1) .rs  (11) .toml  (3) All 6 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
406 changes: 215 additions & 191 deletions Cargo.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Cargo.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ license.workspace = true

[features]
default = ["threading", "stdlib", "zlib", "importlib"]
ctypes = ["rustpython-vm/ctypes"]
importlib = ["rustpython-vm/importlib"]
encodings = ["rustpython-vm/encodings"]
stdlib = ["rustpython-stdlib", "rustpython-pylib", "encodings"]
Expand Down
2 changes: 1 addition & 1 deletion jit/Cargo.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cranelift-jit = "0.88.0"
cranelift-module = "0.88.0"

[dependencies.libffi]
version = "3.1.0"
version = "3.2.0"
features = ["system"]

[dev-dependencies]
Expand Down
7 changes: 7 additions & 0 deletions match_test.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Test match statement
x = 1
match x:
case 1:
print("one")
case 2:
print("two")
12 changes: 9 additions & 3 deletions vm/Cargo.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ codegen = ["rustpython-codegen", "ast"]
parser = ["rustpython-parser", "ast"]
serde = ["dep:serde"]
wasmbind = ["chrono/wasmbind", "getrandom/js", "wasm-bindgen"]
ctypes = []

[dependencies]
rustpython-compiler = { workspace = true, optional = true }
Expand Down Expand Up @@ -87,9 +88,14 @@ unicode_names2 = { workspace = true }
# https://github.com/RustPython/RustPython/pull/832#discussion_r275428939
unicode-casing = "0.1.0"
# update version all at the same time
unic-ucd-bidi = "0.9.0"
unic-ucd-category = "0.9.0"
unic-ucd-ident = "0.9.0"
unic-ucd-bidi = "0.9.0"
unic-ucd-category = "0.9.0"
unic-ucd-ident = "0.9.0"

# ctypes
libloading = "0.8.6"
libffi = "3.2.0"
widestring = "1.1.0"

[target.'cfg(unix)'.dependencies]
rustix = { workspace = true }
Expand Down
Loading

Back | FazBrowse Home | New Git URL