You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should be sufficient, although it will be necessary to wrap executable into some sort of script that would
cleanly terminate the system after it is done running the executable;
transfer the exit code from the guest to the host somehow...
Obviously there are a number of complications as well (e.g. dynamic library dependencies), but for targets that do not work either way currently (s390x, sparc64, (to an extent) powerpc...) it may prove to be a viable alternative that gives significant stability boost.
As an extended future goal this could also support testing and building on various other kernels that aren’t linux!
The text was updated successfully, but these errors were encountered:
nagisa
changed the title
Consider adding a flag to run under full-system emulation
Consider adding an option to run under full-system emulation
Dec 17, 2018
I believe this was implemented in #153 with the wrapper script of /linux-runner. Since you can also provide your own CARGO_TARGET_${TARGET}_RUNNER envvar to your custom runner if you use custom Dockerfiles, you can fine-tune this if needed.
Something along the lines of
Should be sufficient, although it will be necessary to wrap
executable
into some sort of script that wouldexecutable
;Obviously there are a number of complications as well (e.g. dynamic library dependencies), but for targets that do not work either way currently (s390x, sparc64, (to an extent) powerpc...) it may prove to be a viable alternative that gives significant stability boost.
As an extended future goal this could also support testing and building on various other kernels that aren’t linux!
The text was updated successfully, but these errors were encountered: