diff options
| author | Michael Zeller <mike@mikezeller.net> | 2026-04-14 17:16:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-14 21:16:36 +0000 |
| commit | a811149da42f7c5bff9b2adf44c75d249a9c032a (patch) | |
| tree | 17b5b89f1a537b68af5f9de5d75157d0d26240cc /crates/atuin-hex | |
| parent | feat: Add OCI standard labels to Dockerfile (#3412) (diff) | |
| download | atuin-a811149da42f7c5bff9b2adf44c75d249a9c032a.zip | |
feat: Enable atuin hex for illumos (#3413)
This bumps the `portable-pty` dep which itself has a dependency on a
newer termios that knows about illumos. Unless this was pinned for a
particular reason I think this is fine.
With this dep bumped we can enable `atuin hex` on illumos.
## Checks
- [x] I am happy for maintainers to push small adjustments to this PR,
to speed up the review cycle
- [x] I have checked that there are no existing pull requests for the
same thing
Diffstat (limited to 'crates/atuin-hex')
| -rw-r--r-- | crates/atuin-hex/Cargo.toml | 4 | ||||
| -rw-r--r-- | crates/atuin-hex/src/lib.rs | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/crates/atuin-hex/Cargo.toml b/crates/atuin-hex/Cargo.toml index 9625f67d..85ed8f14 100644 --- a/crates/atuin-hex/Cargo.toml +++ b/crates/atuin-hex/Cargo.toml @@ -13,9 +13,9 @@ repository = { workspace = true } [dependencies] clap = { workspace = true } -[target.'cfg(all(unix, not(target_os = "illumos")))'.dependencies] +# [target.'cfg(all(unix, not(target_os = "illumos")))'.dependencies] crossterm = { workspace = true } eyre = { workspace = true } -portable-pty = "0.8" +portable-pty = "0.9" signal-hook = "0.3" vt100 = { workspace = true } diff --git a/crates/atuin-hex/src/lib.rs b/crates/atuin-hex/src/lib.rs index f449a386..75ec895f 100644 --- a/crates/atuin-hex/src/lib.rs +++ b/crates/atuin-hex/src/lib.rs @@ -151,15 +151,15 @@ end } } -#[cfg(any(not(unix), target_os = "illumos"))] +#[cfg(not(unix))] mod app { pub(crate) fn main() { - eprintln!("atuin hex currently supports unix platforms excluding illumos"); + eprintln!("atuin hex currently supports unix platforms"); std::process::exit(1); } } -#[cfg(all(unix, not(target_os = "illumos")))] +#[cfg(unix)] mod app { use std::io::{Read, Write}; use std::os::unix::net::UnixListener; |
