summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src/exception_logging/win.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-07-10Run `cargo fmt`Sebastian Holmin1-2/+2
2025-02-25Allow undocumented_unsafe_blocks in even more modulesJoakim Hulthe1-0/+2
2025-02-12Format workspaceSebastian Holmin1-2/+2
The 2024 edition contains new formatting rules. All of these are not compatible with the 2021 formatting style, but most of them are. To change the formatting to be as close to the new style as possible while remaining compatible with the 2021 edition, I first ran `cargo +beta fmt` with the edition set to 2024, then, with the edition set to 2021, I ran `cargo fmt`.
2025-02-12Fix `clippy::precedence`Sebastian Holmin1-2/+2
2025-02-12Fix `unsafe_op_in_unsafe_fn` warningSebastian Holmin1-4/+5
2024-12-19Remove get_context_info for 32 bit x86 targetsLinus Färnstrand1-1/+1
2024-12-19Replace winapi with windows-sys in most cases in exception handlerLinus Färnstrand1-8/+12
2024-11-11Import structs and functions from `windows_sys`Markus Pettersson1-42/+35
2024-11-11Use safe wrapping_add when doing pointer arithmeticMarkus Pettersson1-1/+1
2024-11-11Move pub function to top of moduleMarkus Pettersson1-5/+5
2024-08-15Add support for Windows ARM64Daniel Paoliello1-4/+55
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-6/+5
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2023-10-20Add process module to talpid-windowsDavid Lönnhager1-90/+6
2023-08-08Always use std::ffi::c_char for a c_char typeLinus Färnstrand1-2/+2
2023-08-08Migrate from libc::c_void to std::ffi::c_voidLinus Färnstrand1-2/+1
2023-04-21Apply clippy --fix fixesLinus Färnstrand1-3/+3
This commit does not contain everything that `cargo clippy --fix` changed on Windows. But the least controversial and simplest subset. The remaining fixes I felt could use some manual cleanup also.
2022-09-01Replace winapi with windows-sys for all remaining cratesDavid Lönnhager1-33/+32
2020-02-28Factor exception logging to be multi-platformEmīls1-0/+392