Skip to content

Instantly share code, notes, and snippets.

@kw217
Created August 3, 2017 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kw217/4687d8c42b890f8f7c75533f64cb00c8 to your computer and use it in GitHub Desktop.
Save kw217/4687d8c42b890f8f7c75533f64cb00c8 to your computer and use it in GitHub Desktop.
[package]
name = "repro"
version = "0.1.0"
authors = ["Keith Wansbrough <Keith.Wansbrough@metaswitch.com>"]
[dependencies]
error-chain = "0.10"
#[macro_use]
extern crate error_chain;
error_chain! {
foreign_links {
StringContainsNul(::std::ffi::NulError)
#[doc = "Attempted to pass a string containing `\0`"];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment