Skip to content
Merged
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
7 changes: 0 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ test = true
name = "environment"
test = true

[profile.test]
opt-level = 0
debug = true
lto = false
codegen-units = 1
incremental = false

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

Expand Down
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,6 @@ Add shimforge as a dev dependency:
shimforge = "0.1"
```

Keep your production code as it is, and add these settings to the workspace root
`Cargo.toml`. They reduce inlining so that calls still reach a patchable entry
point:

```toml
[profile.test]
opt-level = 0
debug = true
lto = false
codegen-units = 1
incremental = false
```

Import the two macros and the session type, then run `cargo test` as usual:

```rust
Expand Down
Loading