Tiny improvement to sys (#1385)

This commit is contained in:
Jonathan Turner 2020-02-13 08:33:55 -08:00 committed by GitHub
parent 96985aa692
commit 473e9f9422
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,6 +87,7 @@ async fn host(tag: Tag) -> Value {
if let Ok(platform) = platform_result { if let Ok(platform) = platform_result {
dict.insert_untagged("name", UntaggedValue::string(platform.system())); dict.insert_untagged("name", UntaggedValue::string(platform.system()));
dict.insert_untagged("release", UntaggedValue::string(platform.release())); dict.insert_untagged("release", UntaggedValue::string(platform.release()));
dict.insert_untagged("version", UntaggedValue::string(platform.version()));
dict.insert_untagged("hostname", UntaggedValue::string(platform.hostname())); dict.insert_untagged("hostname", UntaggedValue::string(platform.hostname()));
dict.insert_untagged( dict.insert_untagged(
"arch", "arch",