Skip to content

Commit

Permalink
karm-base: Move panic() back in.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Apr 19, 2024
1 parent 7813e4c commit 54fbda8
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/impls/impl-posix/entry.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <karm-panic/panic.h>
#include <karm-base/panic.h>
#include <stdio.h>
#include <stdlib.h>

Expand Down
2 changes: 1 addition & 1 deletion src/impls/impl-skift/main.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <abi-sysv/abi.h>
#include <handover/hook.h>
#include <hjert-api/api.h>
#include <karm-base/panic.h>
#include <karm-logger/logger.h>
#include <karm-panic/panic.h>
#include <karm-sys/context.h>

#include "hooks.h"
Expand Down
3 changes: 2 additions & 1 deletion src/libs/karm-base/any.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#pragma once

#include <karm-meta/id.h>
#include <karm-panic/panic.h>

#include "panic.h"

namespace Karm {

Expand Down
3 changes: 1 addition & 2 deletions src/libs/karm-base/error.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#pragma once

#include <karm-panic/panic.h>

#include "cstr.h"
#include "panic.h"
#include "std.h"
#include "try.h"

Expand Down
1 change: 0 additions & 1 deletion src/libs/karm-base/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"description": "Base data types and functions",
"requires": [
"karm-meta",
"karm-panic",
"stdc-math",
"stdc-ansi",
"stdcpp"
Expand Down
2 changes: 1 addition & 1 deletion src/libs/karm-base/opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

#include <karm-meta/callable.h>
#include <karm-meta/traits.h>
#include <karm-panic/panic.h>

#include "macros.h"
#include "panic.h"
#include "try.h"

namespace Karm {
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions src/libs/karm-base/ring.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#pragma once

#include <karm-panic/panic.h>

#include "inert.h"
#include "panic.h"

namespace Karm {

Expand Down
6 changes: 0 additions & 6 deletions src/libs/karm-panic/manifest.json

This file was deleted.

0 comments on commit 54fbda8

Please sign in to comment.