cpcsdk / rust.cpclib Goto Github PK
View Code? Open in Web Editor NEW[WIP] Rust libary that targets the creation of Amstrad CPC demos
[WIP] Rust libary that targets the creation of Amstrad CPC demos
Hello,
When calling cargo build
in cpclib-disc directory, I got this errors :
error[E0557]: feature has been removed
--> cpclib-disc/src/lib.rs:1:12
|
1 | #![feature(register_attr)]
| ^^^^^^^^^^^^^ feature has been removed
|
= note: removed in favor of `#![register_tool]`
error: cannot find attribute `register_attr` in this scope
--> cpclib-disc/src/lib.rs:2:4
|
2 | #![register_attr(get)]
| ^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `register_tool`
It fails when used in one project:
56 | let palette = palette![
| _______________________^
57 | | "black".to_owned(),
58 | | "blue".to_owned(), "bright blue".to_owned(), "sky blue".to_owned(),
59 | | "red".to_owned(), "bright red".to_owned(), "purple".to_owned(),
60 | | "green".to_owned(), "bright green".to_owned(), "pastel green".to_owned()
61 | | ];
| |_________^ the trait `num_integer::Integer` is not implemented for `&cpc::Pen`
Fix this issue
error[E0277]: `BaseListing<cpclib::cpclib_asm::preamble::Token>` doesn't implement `std::fmt::Display`
--> src/emiter.rs:71:40
|
71 | writeln!(f, "{}\n{}", key, code)?;
| ^^^^ `BaseListing<cpclib::cpclib_asm::preamble::Token>` cannot be formatted with the default formatter
|
= help: the trait `std::fmt::Display` is not implemented for `BaseListing<cpclib::cpclib_asm::preamble::Token>`
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
= note: required because of the requirements on the impl of `std::fmt::Display` for `&BaseListing<cpclib::cpclib_asm::preamble::Token>`
= note: required by `std::fmt::Display::fmt`
as if/eslse and so on are treates as directives and not preprocessing, I doubt it is it the case. A workaround would be to use include once like directive
ureq https://crates.io/crates/ureq does not use async in its guts.
This change will allow to compile the xfer crate on haiku
parse of arguments with copy should be ok; but theiur assembling is not implemented (see DDCB/FDCB opcodes)
For Bit/Set parsing has to be modified to integrate the save of this 3rd argument
Ascii files (i.e. files without header) are saved only on the host computer.
It would be great to allow to save them on virtual disc too
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.