mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-21 22:34:34 +00:00
Not a doc comment, add a struct
This commit is contained in:
parent
e764179e86
commit
cf71e44bb6
@ -195,4 +195,4 @@ pub fn __rustc_codegen_backend() -> Box<dyn CodegenBackend> {
|
||||
}
|
||||
|
||||
|
||||
/// https://github.com/bjorn3/rustc_codegen_cranelift/blob/1b8df386aa72bc3dacb803f7d4deb4eadd63b56f/src/base.rs
|
||||
// https://github.com/bjorn3/rustc_codegen_cranelift/blob/1b8df386aa72bc3dacb803f7d4deb4eadd63b56f/src/base.rs
|
@ -29,6 +29,12 @@ unsafe impl<'a, T: ?Sized> Copy for &'a T {}
|
||||
unsafe impl<T: ?Sized> Copy for *const T {}
|
||||
unsafe impl<T: ?Sized> Copy for *mut T {}
|
||||
|
||||
pub fn jasper() {
|
||||
let _ktest = 666666666;
|
||||
struct Jasper {
|
||||
data: u32,
|
||||
}
|
||||
|
||||
pub fn jasper() {
|
||||
let _ktest = Jasper {
|
||||
data: 666666
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user