Skip to content
Snippets Groups Projects

Hide Tokio crates behind cfg gate for Redox

Merged Michael Aaron Murphy requested to merge huntergoldstein:redox_unbork into master

Created by: huntergoldstein

Closes #314 (closed).

I'm still trying to set up a redox environment (see: https://github.com/redox-os/redox/issues/970; I'm giving up trying to do this locally for now, spinning up Ubuntu VM) but in the meantime this should work.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
27 27 unicode-segmentation = "1.2"
28 28 smallvec = "0.4"
29 29 smallstring = "0.1"
30
31 [target.'cfg(not(target_os = "redox"))'.dependencies]
  • Michael Aaron Murphy
  • 27 27 unicode-segmentation = "1.2"
    28 28 smallvec = "0.4"
    29 29 smallstring = "0.1"
    30
    31 [target.'cfg(not(target_os = "redox"))'.dependencies]
  • Thanks! This should work for handling Redox.

  • Please register or sign in to reply
    Loading