Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ termcolor = "1.2.0"
thin-vec = "0.2.13"
thiserror = "1.0.37"
tokio = { version = "1.37", features = ["full"] }
tokio_metrics = { version = "0.4.0" }
tokio-postgres = { version = "0.7.8", features = ["with-chrono-0_4"] }
tokio-stream = "0.1.17"
tokio-tungstenite = { version = "0.27.0", features = ["native-tls"] }
Expand Down
2 changes: 2 additions & 0 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ jwks.workspace = true
async_cache = "0.3.1"
faststr = "0.2.23"
core_affinity = "0.8"
num-traits = "0.2"
# sourcemap = "9"

[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = {workspace = true}
Expand Down
1 change: 1 addition & 0 deletions crates/core/src/host/v8/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.js
2 changes: 1 addition & 1 deletion crates/core/src/host/v8/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl de::Error for Error<'_> {
}

/// Returns a scratch buffer to fill when deserializing strings.
fn scratch_buf<const N: usize>() -> [MaybeUninit<u8>; N] {
pub(super) fn scratch_buf<const N: usize>() -> [MaybeUninit<u8>; N] {
[const { MaybeUninit::uninit() }; N]
}

Expand Down
2 changes: 1 addition & 1 deletion crates/core/src/host/v8/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ impl IntoJsString for String {
///
/// Newtyped for additional type safety and to track JS exceptions in the type system.
#[derive(Debug)]
pub(super) struct ExceptionValue<'scope>(Local<'scope, Value>);
pub(super) struct ExceptionValue<'scope>(pub Local<'scope, Value>);

/// Error types that can convert into JS exception values.
pub(super) trait IntoException<'scope> {
Expand Down
Loading
Loading