commit | 85d8db41e1aeaabcc47a981c5ccc704bb36082ec | [log] [tgz] |
---|---|---|
author | Adam Sadovsky <sadovsky@google.com> | Tue Aug 04 15:01:28 2015 -0700 |
committer | Adam Sadovsky <sadovsky@google.com> | Tue Aug 04 15:01:28 2015 -0700 |
tree | 502a1db7c07eca7c753f195f9548c94510d2677f | |
parent | 1142444775476538b1f0bf93535446a2dc2971e9 [diff] |
runtime/internal: hack to support v23 flags in mojo Mojo services cannot be configured via command-line flags. We'd like to run Syncbase as a Mojo service, and to configure v23 in much the same way as we would normally. This CL enables that by splitting the v23 flag parsing code into "+build mojo" and "+build !mojo" versions (i.e. dependent on presence of the "mojo" build tag). If the "mojo" tag is specified, we parse flags from the env var V23_MOJO_FLAGS instead of from os.Args. Change-Id: I6f795c30920b29e5b9f0de58679bbfe91f944b1a
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.