54 lines
1.1 KiB
Rust
54 lines
1.1 KiB
Rust
#![allow(dead_code)]
|
|
#![allow(mutable_transmutes)]
|
|
#![allow(non_camel_case_types)]
|
|
#![allow(non_snake_case)]
|
|
#![allow(non_upper_case_globals)]
|
|
#![allow(unused_assignments)]
|
|
#![allow(unused_mut)]
|
|
#![cross_check(yes)]
|
|
#![feature(asm)]
|
|
#![feature(c_variadic)]
|
|
#![feature(const_raw_ptr_to_usize_cast)]
|
|
#![feature(extern_types)]
|
|
#![feature(main)]
|
|
#![feature(plugin)]
|
|
#![feature(ptr_wrapping_offset_from)]
|
|
#![feature(register_tool)]
|
|
#![register_tool(c2rust)]
|
|
|
|
|
|
#[macro_use]
|
|
extern crate c2rust_bitfields;#[macro_use]
|
|
extern crate c2rust_asm_casts;
|
|
extern crate libc;
|
|
|
|
#![plugin(c2rust_xcheck_plugin())]
|
|
#[macro_use] extern crate c2rust_xcheck_derive;
|
|
#[macro_use] extern crate c2rust_xcheck_runtime;
|
|
extern crate c2rust_xcheck_backend_zstd_logging;
|
|
|
|
#[global_allocator]
|
|
static C2RUST_ALLOC: ::std::alloc::System = ::std::alloc::System;
|
|
|
|
pub mod src {
|
|
pub mod buffer;
|
|
pub mod decode;
|
|
pub mod faad;
|
|
pub mod flac;
|
|
pub mod mad;
|
|
pub mod main;
|
|
pub mod mpg;
|
|
pub mod output;
|
|
pub mod output_alsa;
|
|
pub mod output_pa;
|
|
pub mod output_pack;
|
|
pub mod output_pulse;
|
|
pub mod output_stdout;
|
|
pub mod pcm;
|
|
pub mod slimproto;
|
|
pub mod stream;
|
|
pub mod utils;
|
|
pub mod vorbis;
|
|
} // mod src
|
|
|