Skip to content

Commit c252faa

Browse files
committed
modify to_posix to return toallowedvalue for policy
1 parent 2ebc7ba commit c252faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vxworks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ impl ThreadPriority {
453453
// for the SCHED_OTHER policy.
454454
// <https://www.usenix.org/legacy/publications/library/proceedings/bsdcon02/full_papers/gerbarg/gerbarg_html/index.html>
455455
#[cfg(all(
456-
any(target_os = "macos", target_os = "ios"),
456+
any(target_os = "macos", target_os = "ios", target_os = "vxworks"),
457457
not(target_arch = "wasm32")
458458
))]
459459
ThreadSchedulePolicy::Normal(_) => {

0 commit comments

Comments
 (0)