parent
146e297a94
commit
83098604fa
|
@ -17,6 +17,7 @@ if [ -z "$libpath" ]; then
|
||||||
fi
|
fi
|
||||||
export LD_LIBRARY_PATH="$PWD/dll:$PWD:$libpath"
|
export LD_LIBRARY_PATH="$PWD/dll:$PWD:$libpath"
|
||||||
export MONO_CRASH_NOFILE=1
|
export MONO_CRASH_NOFILE=1
|
||||||
|
export MONO_THREADS_SUSPEND=preemptive # defaults to the experimental hybrid mode for some reason; this simpler mode performs better
|
||||||
export MONO_WINFORMS_XIM_STYLE=disabled # see https://bugzilla.xamarin.com/show_bug.cgi?id=28047#c9
|
export MONO_WINFORMS_XIM_STYLE=disabled # see https://bugzilla.xamarin.com/show_bug.cgi?id=28047#c9
|
||||||
if [ "$1" = "--mono-no-redirect" ]; then
|
if [ "$1" = "--mono-no-redirect" ]; then
|
||||||
# printf "(passing --mono-no-redirect is no longer necessary)\n" #TODO uncomment later
|
# printf "(passing --mono-no-redirect is no longer necessary)\n" #TODO uncomment later
|
||||||
|
|
|
@ -104,7 +104,8 @@
|
||||||
fi
|
fi
|
||||||
${if profileManagedCalls == false then "" else ''printf "Will write profiling results to %s/*.mlpd\n" "$PWD"
|
${if profileManagedCalls == false then "" else ''printf "Will write profiling results to %s/*.mlpd\n" "$PWD"
|
||||||
''}${if bizhawkAssemblies.hawkSourceInfo.hasAssemblyResolveHandler then "" else ''export MONO_PATH="$BIZHAWK_HOME/dll/nlua:$BIZHAWK_HOME/dll"
|
''}${if bizhawkAssemblies.hawkSourceInfo.hasAssemblyResolveHandler then "" else ''export MONO_PATH="$BIZHAWK_HOME/dll/nlua:$BIZHAWK_HOME/dll"
|
||||||
''}${lib.optionalString (!debugPInvokes) "# "}export MONO_LOG_LEVEL=debug MONO_LOG_MASK=dll # pass `--arg debugPInvokes true` to nix-build to enable
|
''}export MONO_THREADS_SUSPEND=preemptive
|
||||||
|
${lib.optionalString (!debugPInvokes) "# "}export MONO_LOG_LEVEL=debug MONO_LOG_MASK=dll # pass `--arg debugPInvokes true` to nix-build to enable
|
||||||
${lib.optionalString debugDotnetHostCrashes "# "}export MONO_CRASH_NOFILE=1 # pass `--arg debugDotnetHostCrashes true` to nix-build to disable
|
${lib.optionalString debugDotnetHostCrashes "# "}export MONO_CRASH_NOFILE=1 # pass `--arg debugDotnetHostCrashes true` to nix-build to disable
|
||||||
if [ "$1" = '--mono-no-redirect' ]; then
|
if [ "$1" = '--mono-no-redirect' ]; then
|
||||||
printf "(passing --mono-no-redirect is no longer necessary)\n" >&2
|
printf "(passing --mono-no-redirect is no longer necessary)\n" >&2
|
||||||
|
|
Loading…
Reference in New Issue