]> xenbits.xensource.com Git - unikraft/libs/ruby.git/commit
Provide main() function if configured to do so
authorCostin Lupu <costin.lupu@cs.pub.ro>
Mon, 16 Dec 2019 13:47:52 +0000 (15:47 +0200)
committerCostin Lupu <costin.lupu@cs.pub.ro>
Mon, 16 Dec 2019 13:54:35 +0000 (15:54 +0200)
commit6b0c94f4884242c9b3a61e1fbbaaee88c2450fcf
tree8a64d655ab9f1a0ee0a46ef339de48bf86a99699
parentf6d1d660ece3383acf82b442dddd09edd6c43f7f
Provide main() function if configured to do so

We provide a configurable main() function for running Ruby out-of-the-box and
also for showing an example of such a function to be used by custom
applications. It also sets the necessary Ruby environment variables.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Stefan Teodorescu <stefanl.teodorescu@gmail.com>
Config.uk
Makefile.uk
ruby_main_example.c [new file with mode: 0644]