1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-13 18:47:58 +00:00

unbreak build with rustc 1.32: force tempfile 3.1.0 (#1695)

This commit is contained in:
Sylvestre Ledru 2021-01-19 08:15:53 +01:00 committed by GitHub
parent 013bb285cd
commit e331186fee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 27 additions and 101 deletions

View file

@ -1,4 +1,3 @@
extern crate tempfile;
#[cfg(unix)]
extern crate unix_socket;

View file

@ -1,11 +1,10 @@
#[cfg(not(windows))]
use std::fs;
use std::path::Path;
extern crate tempfile;
use self::tempfile::tempdir;
use crate::common::util::*;
use std::env;
use std::path::Path;
use tempfile::tempdir;
#[test]
fn test_env_help() {

View file

@ -1,7 +1,6 @@
use crate::common::util::*;
extern crate tempfile;
use self::tempfile::tempdir;
use tempfile::tempdir;
static TEST_TEMPLATE1: &'static str = "tempXXXXXX";
static TEST_TEMPLATE2: &'static str = "temp";

View file

@ -1,8 +1,7 @@
use crate::common::util::*;
use std::fs;
extern crate tempfile;
use self::tempfile::tempdir;
use std::fs;
use tempfile::tempdir;
#[test]
fn test_sync_default() {