Merge pull request #6 from albertlarsan68/patch-1

Correct compile error on Windows
This commit is contained in:
nora 2022-12-28 14:40:45 +01:00 committed by GitHub
commit 1674370e37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ fn wrap_func_body(func: &str) -> Result<String> {
impl RustFunction {
#[cfg(not(unix))]
pub fn compile(body: &str) -> Result<Self> {
Err(anyhow::anyhow!("--verify-fn only works on unix"));
Err(anyhow::anyhow!("--verify-fn only works on unix"))
}
#[cfg(unix)]