Skip to content

Commit

Permalink
Disable traces for release builds
Browse files Browse the repository at this point in the history
No clue why you guys aren't using this...
  • Loading branch information
doggogit authored Jun 23, 2024
1 parent 9908f97 commit c28126d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ xsi:schemaLocation="http://lime.openfl.org/project/1.0.4 http://lime.openfl.org/
<haxedef name="message.reporting" value="pretty" />

<!-- _________________________________ Custom _______________________________ -->
<!-- Disable trace() calls in release builds to bump up performance.
<haxeflag name="- -no-traces" unless="debug" />-->
<!-- Disable trace() calls in release builds to bump up performance.-->
<haxeflag name="--no-traces" unless="debug" />
<!-- HScript relies heavily on Reflection, which means we can't use DCE. -->
<haxeflag name="-dce no" />
<!-- Ensure all Funkin' classes are available at runtime. -->
Expand Down

0 comments on commit c28126d

Please sign in to comment.