... 为什么 Rust 就能很好的支持 x86_64-pc-win32-pe,Qt 作为「跨平台框架」连最基本的交叉编译都麻烦得要死
Linux 平台上开发真是折腾... M$ 给 Linux 做了子系统支持,所以不存在 Windows 平台不支持 GNU/Linux 的情况了,呵呵。你 NB。
duangsuse::Echo
Linux 平台上开发真是折腾... M$ 给 Linux 做了子系统支持,所以不存在 Windows 平台不支持 GNU/Linux 的情况了,呵呵。你 NB。
This media is not supported in your browser
VIEW IN TELEGRAM
交叉编译烂成那 B 样还敢推销自己破烂产品我 TM... 好组件库 Google 就没有做出来一个一样,我特么... 自己心里 TM 没有点 B 数么
This media is not supported in your browser
VIEW IN TELEGRAM
duangsuse::Echo
https://github.com/losfair/banXiaocao #low #Chinese #backend 小曹消息屏蔽权重判断插件(可以做一个适配的 Telegram 插件平台... emmm
刚才想把这玩意
今天我还是对自己好点... 不要弄这些了.... 我早饭午饭都没吃昨天一晚上都没睡觉.... 现在非常难受........
detect.c 拿 Rust nostd 重写一下练练手,坑死我了,没有到运行时就出各种问题... 到不了运行时...(友情提示,代码太垃圾了不要学)今天我还是对自己好点... 不要弄这些了.... 我早饭午饭都没吃昨天一晚上都没睡觉.... 现在非常难受........
#![crate_type = "cdylib"]
#![crate_name = "xcdetect"]
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "https://doc.rust-lang.org/favicon.ico")]
#![feature(lang_items)]
#![no_std]
use core::fmt;
use core::panic::PanicInfo;
extern {
static xc_words_len: *const i32;
static xc_words: [*const i8];
static xc_words_weights: [*const f32];
fn printf(fmt: *const i8, ...) -> i32;
}
/// Display rust &str to stdout
pub fn print(str: &str) {
unsafe { printf(str.as_ptr() as *const i8); }
}
#[lang = "eh_personality"]
#[no_mangle]
/// Rust error handling personality function
pub extern "C" fn eh_personality() {}
#[panic_handler]
#[no_mangle]
/// Rust panic handler
pub extern "C" fn panic_handler(p: &PanicInfo) -> ! {
print("Rust program panicked:\n ");
if let Some(l) = p.location() {
print(":: At file "); print(l.file()); print("\n ");
print( ":: At line "); print("1");
}
loop {} // never return
}
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
感人至深啊......... 花了半个小时下载库总算安装了 MinGW qt5