blob: 5ae8c6723bbb685c3556eec7095469f3e9e7fd2c [file] [log] [blame]
// +build nacl
package platform
import (
"veyron.io/veyron/veyron2"
)
// Platform returns the description of the Platform this process is running on.
// A default value for veyron2.Platform is provided even if an error is
// returned; nil is never returned for the first return result.
func Platform() (*veyron2.Platform, error) {
d := &veyron2.Platform{
Vendor: "google",
Model: "generic",
System: "nacl",
Version: "0",
Release: "0",
Machine: "0",
Node: "0",
}
return d, nil
}