Skip to content

Commit

Permalink
fixed minor mdbook syntax issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cwshugg committed Nov 7, 2024
1 parent 008ef34 commit bf6bd39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cargo-fuzz/windows/dll-fuzzing.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ have any references to a `main` function. It's the job of the executable that
loads a DLL into worry about `main`. So, if we attempt to build a DLL using
`cargo fuzz build`, it'll add the `/include:main`, and we'll get a linker error:

```
```txt
LINK : error LNK2001: unresolved external symbol main
C:\....\my_shared_library.dll : fatal error LNK1120: 1 unresolved externals
C:/..../my_shared_library.dll : fatal error LNK1120: 1 unresolved externals
```

To avoid this, we use the `--no-include-main-msvc` argument, which allows us to
Expand Down

0 comments on commit bf6bd39

Please sign in to comment.