change in format for link attribute

This commit is contained in:
Kevin Kelley 2021-03-30 11:17:00 +08:00
parent c740ef3b9a
commit 339e6b664d
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ fn main() {
use libc;
use std::{ffi::CString, mem, os::unix::ffi::OsStringExt};
#[link = "gmp"]
#[link(name="gmp")]
extern "C" {
fn __gmpz_init_set_str(
rop: mpz_ptr,