Skip to content

Commit

Permalink
Restrict TaskDemo with compiler(>=5.5) check
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxDesiatov committed Nov 22, 2021
1 parent b65300f commit 2ee9fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TokamakDemo/TokamakDemo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ struct TokamakDemoView: View {
}
Section(header: Text("Modifiers")) {
NavItem("Shadow", destination: ShadowDemo())
#if os(WASI)
#if os(WASI) && compiler(>=5.5)
NavItem("Task", destination: TaskDemo())
#endif
}
Expand Down

0 comments on commit 2ee9fc5

Please sign in to comment.