Skip to content

Commit

Permalink
Unvendor embassy
Browse files Browse the repository at this point in the history
  • Loading branch information
simmsb committed Nov 16, 2024
1 parent d7faf43 commit f2868cb
Show file tree
Hide file tree
Showing 1,410 changed files with 669 additions and 210,313 deletions.
664 changes: 664 additions & 0 deletions Cargo.lock

Large diffs are not rendered by default.

16 changes: 5 additions & 11 deletions vendor/atxtiny-hal/src/panic_serial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@
use ufmt::uWrite;
use core::panic::PanicInfo;
use core::fmt::Write;

struct WriteWrapper<'a, W: uWrite>(&'a mut W);

impl<'a, W: uWrite> Write for WriteWrapper<'a, W> {
fn write_str(&mut self, s: &str) -> core::fmt::Result {
self.0.write_str(s).map_err(|_| core::fmt::Error)
}
}

/// Called internally by the panic handler.
pub fn _print_panic<W: uWrite>(w: &mut W, info: &PanicInfo) {
Expand All @@ -22,8 +13,11 @@ pub fn _print_panic<W: uWrite>(w: &mut W, info: &PanicInfo) {
}

if cfg!(feature="fullpanic") {
let msg = info.message();
_ = core::writeln!(WriteWrapper(w), ": {}", msg);
if let Some(message) = info.message().as_str() {
_ = w.write_str(": ");
_ = w.write_str(message);
_ = w.write_str("\r\n");
}
}
}

Expand Down
43 changes: 0 additions & 43 deletions vendor/embassy/.gitattributes

This file was deleted.

29 changes: 0 additions & 29 deletions vendor/embassy/.github/ci/build-nightly.sh

This file was deleted.

34 changes: 0 additions & 34 deletions vendor/embassy/.github/ci/build.sh

This file was deleted.

17 changes: 0 additions & 17 deletions vendor/embassy/.github/ci/crlf.sh

This file was deleted.

63 changes: 0 additions & 63 deletions vendor/embassy/.github/ci/doc.sh

This file was deleted.

12 changes: 0 additions & 12 deletions vendor/embassy/.github/ci/rustfmt.sh

This file was deleted.

13 changes: 0 additions & 13 deletions vendor/embassy/.github/ci/test-nightly.sh

This file was deleted.

29 changes: 0 additions & 29 deletions vendor/embassy/.github/ci/test.sh

This file was deleted.

44 changes: 0 additions & 44 deletions vendor/embassy/.github/workflows/matrix-bot.yml

This file was deleted.

7 changes: 0 additions & 7 deletions vendor/embassy/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions vendor/embassy/.vscode/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions vendor/embassy/.vscode/extensions.json

This file was deleted.

Loading

0 comments on commit f2868cb

Please sign in to comment.