
Yaroslav Dynnikov
authored
This patch reduces the variable passing trace length. Instead of returning it from function to function, call `exit()` in place. The trace of exit code before the patch: ``` exit() <- main <- main_run <- fork(child) <- tarantool_main ``` And now: ``` exit() <- tarantool_main ``` Type safety is ensured at comilation time by using `!` type for `fn main()`. See https://doc.rust-lang.org/reference/types/never.html
Name | Last commit | Last update |
---|---|---|
.. | ||
traft | ||
app.rs | ||
args.rs | ||
discovery.rs | ||
ipc.rs | ||
mailbox.rs | ||
main.rs | ||
tarantool.rs | ||
tlog.rs |