hdevalence / hdevalence/iaca-marker-macros

the legacy LLVM-style asm! syntax is no longer supported

Open
#1 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Getting this error in my code:

```
error: the legacy LLVM-style asm! syntax is no longer supported
--> src\iaca.rs:14:9
|
14 | iaca_start_marker!();
| ^^^^^^^^^^^^^^^^^^^^^ help: replace with: `llvm_asm!`
|
= note: consider migrating to the new asm! syntax specified in RFC 2873
= note: alternatively, switch to llvm_asm! to keep your code working as it is
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more
info)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the iaca_start_marker! invocation in src/iaca.rs:14 and inspect the macro implementation that expands to the legacy LLVM-style asm! syntax. Check the supported Rust inline-assembly syntax and verify the marker macro builds without this compiler error on the intended toolchain.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.