Skip to content

Commit

Permalink
Update to origin 0.17. (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode authored Dec 20, 2023
1 parent 8af257c commit f74ff95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions c-scape/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ rustix = { version = "0.38.27", default-features = false, features = ["event", "
rustix-futex-sync = { version = "0.2.1", features = ["atomic_usize"] }
memoffset = "0.9.0"
realpath-ext = { version = "0.1.0", default-features = false }
origin = { version = "0.16.3", default-features = false, features = ["thread", "init-fini-arrays"] }
origin = { version = "0.17.0", default-features = false, features = ["thread", "init-fini-arrays", "alloc"] }
# We use the libc crate for C ABI types and constants, but we don't depend on
# the actual platform libc.
libc = { version = "0.2.138", default-features = false }
Expand Down Expand Up @@ -65,7 +65,7 @@ static_assertions = "1.1.0"
[features]
default = ["thread", "std", "coexist-with-libc", "threadsafe-setenv", "use-compiler-builtins"]
thread = ["origin/set_thread_id"]
std = ["rustix/std"]
std = ["rustix/std", "printf-compat/std"]

# In "take-charge" mode, this enables code in c-scape to define the
# `origin_start` function documented [here] and call a C ABI-compatible
Expand Down Expand Up @@ -110,7 +110,7 @@ eyra = [
# One of the following two features must be enabled:

# Enable this to tell c-scape to take control of the process.
take-charge = ["origin/origin-start", "origin/origin-thread", "origin/origin-signal"]
take-charge = ["origin/origin-start", "origin/origin-thread", "origin/origin-signal", "origin/signal"]

# Enable this to tell c-scape to let a libc be in control of
# the process.
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-12-09"
channel = "nightly-2023-12-19"
components = ["rustc", "cargo", "rust-std", "rust-src", "rustfmt"]

0 comments on commit f74ff95

Please sign in to comment.