File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -52,13 +52,14 @@ private string[] GetAdditionalReferences()
5252 protected override Program StartCompiler ( )
5353 {
5454 var arguments = new List < string >
55- {
56- "-debug" ,
57- "-target:library" ,
58- "-nowarn:0169" ,
59- "-out:" + PrepareFileName ( _island . _output ) ,
60- "-define:__UNITY_PROCESSID__" + System . Diagnostics . Process . GetCurrentProcess ( ) . Id
61- } ;
55+ {
56+ "-debug" ,
57+ "-target:library" ,
58+ "-nowarn:0169" ,
59+ "-unsafe" ,
60+ "-out:" + PrepareFileName ( _island . _output ) ,
61+ "-define:__UNITY_PROCESSID__" + System . Diagnostics . Process . GetCurrentProcess ( ) . Id
62+ } ;
6263 foreach ( var reference in _island . _references )
6364 {
6465 arguments . Add ( "-r:" + PrepareFileName ( reference ) ) ;
@@ -86,4 +87,4 @@ protected override Program StartCompiler()
8687
8788 return StartCompiler ( _island . _target , GetCompilerPath ( arguments ) , arguments ) ;
8889 }
89- }
90+ }
You can’t perform that action at this time.
0 commit comments