fish-shell/fish-rust
Mahmoud Al-Qudsi 05265e7d90 Port (and use) ASSERT_IS_BACKGROUND_THREAD/ASSERT_IS_MAIN_THREAD
Rust doesn't have __FUNCTION__ or __func__ (though you can hack around it with a
proc macro, but that will require a separate crate and slowing down compilation
times with heavy proc macro dependencies), so these are just regular functions
(at least for now). Rust's default stack trace on panic (even in release mode)
should be enough (and the functions themselves are inlined so the calling
function should be the second frame from the top, after the #[cold] panic
functions).
2023-02-19 16:54:50 -06:00
..
src Port (and use) ASSERT_IS_BACKGROUND_THREAD/ASSERT_IS_MAIN_THREAD 2023-02-19 16:54:50 -06:00
widestring-suffix Initial Rust commit 2023-02-02 19:34:47 -07:00
build.rs Port fd_monitor (and its needed components) 2023-02-19 15:42:03 -06:00
Cargo.lock Port random to rust 2023-02-19 21:01:46 +01:00
Cargo.toml Port random to rust 2023-02-19 21:01:46 +01:00