Skip to content

Commit 0361e37

Browse files
committed
Fixed just version
1 parent 8b1891c commit 0361e37

File tree

8 files changed

+20
-24
lines changed

8 files changed

+20
-24
lines changed

.github/workflows/deploy-docs.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ jobs:
2929
3030
- uses: jetli/wasm-bindgen-action@v0.2.0
3131
with:
32+
# NOTE version here must match the emulator/frontends/pixels/Cargo.lock version
3233
version: 0.2.92
3334

3435
- name: Install dependencies
3536
run: |
3637
sudo apt-get install -y alsa-base libasound2-dev libxkbcommon-dev
37-
cargo install just
38+
# NOTE version here is pinned because it must be compilable with MSRV
39+
cargo install just --version 1.22.0
3840
3941
- name: Make build directory
4042
run: mkdir build

Cargo.lock

+11-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

emulator/cpus/m68k/src/moa.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl<BusError> From<Error> for M68kError<BusError> {
5757
match err {
5858
Error::Processor(ex) => M68kError::Interrupt(ex as u8),
5959
Error::Breakpoint(_) => M68kError::Breakpoint,
60-
Error::Other(msg) | Error::Assertion(msg) | Error::Emulator(_, msg) => M68kError::Other(msg.to_string()),
60+
Error::Other(msg) | Error::Assertion(msg) | Error::Emulator(_, msg) => M68kError::Other(msg),
6161
}
6262
}
6363
}

emulator/cpus/z80/src/execute.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl From<Error> for Z80Error {
7171
match err {
7272
Error::Processor(ex) => Z80Error::BusError(format!("processor error {}", ex)),
7373
Error::Breakpoint(_) => Z80Error::Breakpoint,
74-
Error::Other(msg) | Error::Assertion(msg) | Error::Emulator(_, msg) => Z80Error::BusError(msg.to_string()),
74+
Error::Other(msg) | Error::Assertion(msg) | Error::Emulator(_, msg) => Z80Error::BusError(msg),
7575
}
7676
}
7777
}

emulator/frontends/console/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ default-run = "moa-computie"
66

77
[dependencies]
88
log = "0.4"
9-
clap = "4.4"
9+
clap = "=4.4"
1010
simple_logger = "4"
1111
femtos = "0.1"
1212

emulator/frontends/minifb/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ default-run = "moa-genesis"
77
[dependencies]
88
log = "0.4"
99
minifb = "0.25"
10-
clap = "4.4"
10+
clap = "=4.4"
1111
simple_logger = "4"
1212
femtos = "0.1"
1313

tests/rad_tests/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ fn init_execute_test(cputype: Z80Type, state: &TestState, ports: &[TestPort]) ->
156156
let io_ram = Device::new(MemoryBlock::new(vec![0; 0x10000]));
157157
let io_bus = Rc::new(RefCell::new(Bus::default()));
158158
io_bus.borrow_mut().set_ignore_unmapped(true);
159-
io_bus.borrow_mut().insert(0x0000, io_ram.clone());
159+
io_bus.borrow_mut().insert(0x0000, io_ram);
160160

161161
let port = BusPort::new(0, 16, 8, system.bus.clone());
162162
let ioport = BusPort::new(0, 16, 8, io_bus.clone());

todo.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
* convert the Z80
32
* implement Inspect/Debug traits
43
* fix dump_state everywhere, which now requires a writer. Is there an easier way? Is there a way that doesn't require std
54
* fix it to use the full 68k address space, and maybe see if it's possible to make the address translation cleaner/nicer/simpler/faster
65
* figure out how to do interrupts, and add them to emulator-hal, implement them in m68k
6+
* convert the Z80
77
* convert peripherals to use BusAccess and Step
88
* replace Addressable/Steppable and modify Transmutable to use the emulator-hal traits
99
* remove the custom moa impls from m68k if possible at this point

0 commit comments

Comments
 (0)