Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: moonrepo/setup-rust@b8edcc56aab474d90c7cf0bb8beeaf8334c15e9f
with:
channel: '1.74.0'
channel: '1.85.0'
- run: sudo apt-get install libpam0g-dev
- run: cargo test --all-features
- run: cargo test --no-default-features
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: moonrepo/setup-rust@b8edcc56aab474d90c7cf0bb8beeaf8334c15e9f
with:
channel: '1.74.0'
channel: '1.85.0'
bins: cargo-deny
- run: sudo apt-get install libpam0g-dev
- run: cargo deny --all-features check licenses
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ homepage = "https://github.com/shell-pool/shpool_pty"
license = "MIT"
description = "Fork with new pseudo-terminal (PTY)"
keywords = ["pty", "tty", "pseudo", "terminal", "fork"]
edition = "2024"
rust-version = "1.85"

[features]
default = []
Expand Down
4 changes: 4 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "1.85.0"
components = ["rust-docs", "rust-src", "rust-analyzer"]
profile = "minimal"
2 changes: 1 addition & 1 deletion src/fork.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl Fork {
/// The constructor function `from_ptmx` forks the program
/// and returns the current pid for a default PTMX's path.
pub fn from_ptmx() -> Result<Self> {
Fork::new(::DEFAULT_PTMX)
Fork::new(crate::DEFAULT_PTMX)
}

/// Waits until it's terminated.
Expand Down
Loading