aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
blob: 4dac3cd530ff33d10e41349bbecafc26b446b3d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![feature(test)]
#![allow(dead_code)]

extern crate jemallocator;

#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;

mod configuration;
mod platform;
mod wireguard;

use platform::PlatformTun;

fn main() {
    let (readers, writer, mtu) = platform::TunInstance::create("test").unwrap();
}