Skip to content

Commit 4a3b19c

Browse files
filzrevtimcassell
andauthored
docs: Add docs for breaking changes of disassembler native dependencies (#2836)
* docs: add docs for breaking changes of disassembler native dependencies * Update docs/articles/features/disassembler.md Co-authored-by: Tim Cassell <[email protected]> * docs: move note section content * Update docs/articles/features/disassembler.md --------- Co-authored-by: Tim Cassell <[email protected]>
1 parent 5ee28b0 commit 4a3b19c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/articles/features/disassembler.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ To get the source code we need to locate and read the `.pdb` files.
3333
This is why we need `DebugType` and `DebugSymbols` settings.
3434
To compare different platforms the project which defines benchmarks has to target `AnyCPU`.
3535

36+
> [!NOTE]
37+
> By default, BenchmarkDotNet excludes disassembler's native dependencies that aren't used on current target platform.
38+
> Use the following settings when running the benchmark binary on a different platform than it was built on, or multiple platforms.
39+
>
40+
> ```xml
41+
> <BenchmarkDotNetTargetPlatform>all</BenchmarkDotNetTargetPlatform>
42+
> ```
43+
44+
Or specify `<RuntimeIdentifier>` for the platform that it will be run on.
45+
3646
### Disassembly Diagnoser for Mono on Windows
3747
3848
If you want to get a disassembly listing for Mono on Windows, you need `as` and `x86_64-w64-mingw32-objdump.exe` tools.

0 commit comments

Comments
 (0)