Merge commit 'db1a31c243' into subtree-update_cg_gcc_2025-04-18

This commit is contained in:
Guillaume Gomez 2025-04-18 21:19:50 +02:00
parent 22d3c0d70a
commit 8f9a32aaf8
52 changed files with 959 additions and 1241 deletions

View file

@ -3,37 +3,13 @@
// Run-time:
// status: 1
#![feature(auto_traits, lang_items, no_core)]
#![allow(internal_features)]
#![feature(no_core)]
#![no_std]
#![no_core]
#![no_main]
/*
* Core
*/
// Because we don't have core yet.
#[lang = "sized"]
pub trait Sized {}
#[lang = "copy"]
trait Copy {
}
impl Copy for isize {}
#[lang = "receiver"]
trait Receiver {
}
#[lang = "freeze"]
pub(crate) unsafe auto trait Freeze {}
/*
* Code
*/
extern crate mini_core;
use mini_core::*;
#[no_mangle]
extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 {