WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

Commit 7cf11998 authored by qinsoon's avatar qinsoon
Browse files

remove compiler warnings from rust 1.19

parent fdff149f
...@@ -311,7 +311,7 @@ pub fn start_trace( ...@@ -311,7 +311,7 @@ pub fn start_trace(
lo_space: Arc<FreeListSpace> lo_space: Arc<FreeListSpace>
) { ) {
// creates root deque // creates root deque
let (mut worker, stealer) = deque(); let (worker, stealer) = deque();
while !work_stack.is_empty() { while !work_stack.is_empty() {
worker.push(work_stack.pop().unwrap()); worker.push(work_stack.pop().unwrap());
......
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#![allow(unused_macros)]
macro_rules! typedef { macro_rules! typedef {
// int, floating point // int, floating point
(($vm: expr) $name: ident = mu_int($len: expr)) => { (($vm: expr) $name: ident = mu_int($len: expr)) => {
......
...@@ -24,12 +24,6 @@ macro_rules! assert_type ( ...@@ -24,12 +24,6 @@ macro_rules! assert_type (
) )
); );
macro_rules! println_type (
($test:expr) => (
println!("{}", $test)
)
);
/// create one of each MuType /// create one of each MuType
fn create_types() -> Vec<P<MuType>> { fn create_types() -> Vec<P<MuType>> {
let mut types = vec![]; let mut types = vec![];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment