docs.rs failed to build jsonnet-go-sys-0.1.1+go-jsonnet-v0.20.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
jsonnet-go-sys
This crate provides rust bindings for the C API of the go-jsonnet library.
Building
You will need to have go 1.12+ installed in order to build go-jsonnet. This can be gotten via either,
- your package manager (e.g. apt install golang-go), or,
- the official golang.org install page: https://go.dev/doc/install.
Example
use CStr;
use *;
let filename = c"basic.jsonnet";
let jsonnet = c"{ field: std.base64('abcd') }";
let vm = unsafe ;
let mut error = 0;
let messageptr = unsafe ;
let message = unsafe ;
let message = message.to_str.unwrap;
if error != 0
let json: Basic = from_str.unwrap;
assert_eq!;
unsafe ;
unsafe ;