eholk / boot2rust Goto Github PK
View Code? Open in Web Editor NEWEFI applications in Rust
License: Other
EFI applications in Rust
License: Other
you know the drill
rust-core is in active development and it's modular enough to run in any environment (with a limited feature set).
However, slice operations (for strings and vectors) might not be implemented yet, I should bug @thestinger about that.
Although Rust is pretty readable to a newcomer, some of the code is quite obscure, particularly in uefi.mod. For example:
((*(*self).output).OutputString)(self.output, str);
A few comments to explain what those do would help.
I'm running Arch Linux.
ld: supported targets: elf64-x86-64 elf32-i386 elf32-x86-64 a.out-i386-linux pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little elf64-big elf32-little elf32-big plugin srec symbolsrec verilog tekhex binary ihex
Just wanted to mention that for me, linking with my regular ubuntu linker (GNU ld (GNU Binutils for Ubuntu) 2.24) seemed to work just fine with using LDEMULATION:
LDEMULATION="i386pe" ld --oformat pei-x86-64 --subsystem 10 -pie -e efi_start build/boot.o -o img/efi/boot/bootx64.efi
Would it be possible to port from Makefiles to Cargo? Cargo should be able to build this now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.