Skip to content

Commit

Permalink
Merge branch 'master' into subtape
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai authored Nov 28, 2023
2 parents 1d07f38 + a535130 commit afd30b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 58 deletions.
11 changes: 8 additions & 3 deletions src/Libtask.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@ export TapedTask, consume, produce
export TArray, tzeros, tfill, TRef # legacy types back compat


const TypedSlot = @static if isdefined(Core, :TypedSlot) # Julia v1.10 removed Core.TypedSlot
Core.TypedSlot
@static if isdefined(Core, :TypedSlot) || isdefined(Core.Compiler, :TypedSlot)
# Julia v1.10 removed Core.TypedSlot
const TypedSlot = @static if isdefined(Core, :TypedSlot)
Core.TypedSlot
else
Core.Compiler.TypedSlot
end
else
Core.Compiler.TypedSlot
struct TypedSlot end # Dummy
end

include("tapedfunction.jl")
Expand Down
55 changes: 0 additions & 55 deletions test/benchmarks.jl

This file was deleted.

0 comments on commit afd30b3

Please sign in to comment.