softprops / atty

are you or are you not a tty?
MIT License
277 stars 50 forks source link

Support SOLID targets #53

Open kawadakk opened 2 years ago

kawadakk commented 2 years ago

Supports the SOLID targets (*-kmc-solid_*) just by returning false similarly to the SGX and wasm32 targets.

kawadakk commented 2 years ago

The CI failure seems unrelated to the changes introduced by this PR.

error: failed to get `hermit-abi` as a dependency of package `atty v0.2.14 (C:\projects\atty)`
Caused by:
  failed to load source for dependency `hermit-abi`
Caused by:
  Unable to update registry `https://github.com/rust-lang/crates.io-index`
Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`
Caused by:
  error inflating zlib stream; class=Zlib (5)
Command exited with code 101