Skip to content

Commit 3b08fb4

Browse files
committed
Silenced build script io/path warnings
1 parent 20036d0 commit 3b08fb4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ watch.sh
2626
/examples/**
2727
!/examples/*.rs
2828
!/examples/assets/
29-
.portaudio
29+
.portaudio
30+
Cargo.lock

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1919
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2020
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21-
#![feature(io, env, path, fs, os)]
21+
#![feature(old_io, old_path, env, path, fs, os)]
2222

2323
extern crate "pkg-config" as pkg_config;
2424

examples/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(unreachable_code, unused_assignments)]
21
#![feature(core)]
32

43
extern crate portaudio;
@@ -9,7 +8,7 @@ use std::error::Error;
98
const SAMPLE_RATE: f64 = 44_100.0;
109
const FRAMES: u32 = 256;
1110

12-
fn main() -> () {
11+
fn main() {
1312

1413
println!("PortAudio version : {}", pa::get_version());
1514
println!("PortAudio version text : {}", pa::get_version_text());

0 commit comments

Comments
 (0)