Auto merge of #1621 - RalfJung:rustup, r=RalfJung
Rustup; test btreemap with raw ptr tracking
This commit is contained in:
commit
0459f0be9e
@ -1 +1 @@
|
||||
89631663b7ad2d46d3e4f52bcfa7bee2be9eb82b
|
||||
cf9cf7c923eb01146971429044f216a3ca905e06
|
||||
|
@ -1,5 +1,4 @@
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(rustc_private)]
|
||||
|
||||
fn main() {
|
||||
extern "C" {
|
||||
|
@ -1,5 +1,4 @@
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(rustc_private)]
|
||||
|
||||
fn main() {
|
||||
extern "C" {
|
||||
|
@ -1,5 +1,3 @@
|
||||
#![feature(rustc_private)]
|
||||
|
||||
fn main() {
|
||||
extern "C" {
|
||||
// Use the wrong type(ie. not the pointer width) for the `size`
|
||||
|
@ -1,3 +1,5 @@
|
||||
// compile-flags: -Zmiri-track-raw-pointers
|
||||
// ignore-windows (FIXME: tracking raw pointers does not work on Windows)
|
||||
#![feature(btree_drain_filter)]
|
||||
use std::collections::{BTreeMap, BTreeSet};
|
||||
use std::mem;
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
#![feature(rustc_private)]
|
||||
|
||||
use core::slice;
|
||||
|
||||
extern crate libc;
|
||||
|
||||
use core::slice;
|
||||
|
||||
fn main() {
|
||||
unsafe {
|
||||
let p1 = libc::calloc(0, 0);
|
||||
|
@ -1,5 +1,3 @@
|
||||
#![feature(rustc_private, renamed_spin_loop)]
|
||||
|
||||
use std::sync::{Mutex, TryLockError};
|
||||
use std::sync::atomic;
|
||||
use std::hint;
|
||||
|
@ -3,6 +3,8 @@
|
||||
|
||||
#![feature(rustc_private)]
|
||||
|
||||
extern crate libc;
|
||||
|
||||
use std::fs::{
|
||||
File, create_dir, OpenOptions, read_dir, remove_dir, remove_dir_all, remove_file, rename,
|
||||
};
|
||||
@ -10,8 +12,6 @@ use std::ffi::CString;
|
||||
use std::io::{Read, Write, Error, ErrorKind, Result, Seek, SeekFrom};
|
||||
use std::path::{PathBuf, Path};
|
||||
|
||||
extern crate libc;
|
||||
|
||||
|
||||
fn main() {
|
||||
test_file();
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
#![feature(rustc_private)]
|
||||
|
||||
use core::{slice, ptr};
|
||||
|
||||
extern crate libc;
|
||||
|
||||
use core::{slice, ptr};
|
||||
|
||||
fn main() {
|
||||
// Test that small allocations sometimes *are* not very aligned.
|
||||
let saw_unaligned = (0..64).any(|_| unsafe {
|
||||
|
@ -3,6 +3,7 @@
|
||||
#![feature(rustc_private)]
|
||||
|
||||
extern crate libc;
|
||||
|
||||
use std::mem;
|
||||
|
||||
struct Arena(());
|
||||
|
Loading…
x
Reference in New Issue
Block a user