Skip to content
This repository has been archived by the owner on Jan 29, 2022. It is now read-only.

Commit

Permalink
Do not require Boehm GC if compiling for JavaScript.
Browse files Browse the repository at this point in the history
Cuts down on a dependency, and I believe the JS engine will do GC.
  • Loading branch information
keplersj committed May 21, 2016
1 parent 41f80ac commit 61b682a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/prelude.cr
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ require "struct"
require "proc"
require "thread"
require "gc"
# require "gc/null"
require "gc/boehm"
ifdef asmjs
require "gc/null"
else
require "gc/boehm"
end
require "class"
require "comparable"
require "enumerable"
Expand Down

0 comments on commit 61b682a

Please sign in to comment.