blob: 51c2a6e15639baefffe8a6e0383a62d274bc831f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* -*- Mode: rust; rust-indent-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use std::collections::HashMap;
extern crate uuid;
use uuid::Uuid;
#[no_mangle]
pub extern "C" fn Rust_TriggerGenRandomFromHashMap() -> () {
let _: HashMap<u32, u32> = HashMap::new();
}
#[no_mangle]
pub extern "C" fn Rust_TriggerGenRandomFromUuid() -> () {
let _: Uuid = Uuid::new_v4();
}
|