Commit 2639e074 authored by David Brown's avatar David Brown Committed by David Brown
Browse files

sim: Move main code into lib crate

In preparatio for separable unit tests, move the main body of the
simulator into a library crate, and make the main program just a small
function that initializes the logger, and calls it.  The main entry
point is still called main.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 0bae965f
Loading
Loading
Loading
Loading
+1002

File added.

Preview size limit exceeded, changes collapsed.

+2 −997

File changed.

Preview size limit exceeded, changes collapsed.