Skip to content

Commit

Permalink
add warn-on-reflection binding in compile-clj example
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed Nov 22, 2024
1 parent 143611f commit 460ffa0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/clojure/clojure/tools/build/api.clj
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@
:elide-meta [:doc :file :line ...]
:direct-linking false}
:bindings - map of Var to value to be set during compilation, for example:
{#'clojure.core/*assert* false}
{#'clojure.core/*assert* false
#'clojure.core/*warn-on-reflection* true}
:filter-nses - coll of symbols representing a namespace prefix to include
Additional options flow to the forked process doing the compile:
Expand Down

0 comments on commit 460ffa0

Please sign in to comment.