From b01fba59cf2f104a290052a3611ec61d11c24391 Mon Sep 17 00:00:00 2001 From: emilio Date: Mon, 1 Apr 2024 20:13:31 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20adb5d?= =?UTF-8?q?034ddf3bb3127ed6a18274da1f385edeff0=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- non-system-libraries.html | 4 +--- print.html | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/non-system-libraries.html b/non-system-libraries.html index 2454bb02f1..92efd0d9a9 100644 --- a/non-system-libraries.html +++ b/non-system-libraries.html @@ -181,9 +181,7 @@

The bindgen User Guide

Given that the library has not been compiled yet, we need to modify the build.rs build script to compile the hello.c source file into a static library:

-
extern crate bindgen;
-
-use std::env;
+
use std::env;
 use std::path::PathBuf;
 
 use bindgen::CargoCallbacks;
diff --git a/print.html b/print.html
index 0a8a178431..1c53b6b679 100644
--- a/print.html
+++ b/print.html
@@ -580,9 +580,7 @@ 

Publish

Given that the library has not been compiled yet, we need to modify the build.rs build script to compile the hello.c source file into a static library:

-
extern crate bindgen;
-
-use std::env;
+
use std::env;
 use std::path::PathBuf;
 
 use bindgen::CargoCallbacks;