diff --git a/pollen/private/cache-utils.rkt b/pollen/private/cache-utils.rkt index 36081b9..9b7025f 100644 --- a/pollen/private/cache-utils.rkt +++ b/pollen/private/cache-utils.rkt @@ -60,11 +60,15 @@ (define-namespace-anchor cache-utils-module-ns) (define my-caching-compile-proc (make-caching-managed-compile-zo)) +;; check 'gc not 'vm because 'gc is supported before 6.7 +(define running-on-cs? (eq? (system-type 'gc) 'cs)) + (define (path->hash path) (for ([p (in-list (or (get-directory-require-files path) null))]) (my-caching-compile-proc p)) - (when (eq? (system-type 'vm) 'chez-scheme) - ;; this makes builds faster, but a bytecode-caching bug in Racket BC + (when running-on-cs? + ;; this makes builds faster, + ;; but a bytecode-caching bug in Racket BC ;; restricts it to CS for now (my-caching-compile-proc path)) (apply hasheq diff --git a/pollen/private/ts.rktd b/pollen/private/ts.rktd index fbc5c5e..e3a825f 100644 --- a/pollen/private/ts.rktd +++ b/pollen/private/ts.rktd @@ -1 +1 @@ -1588777265 +1588784092