Shopify / Shopify/shopify-function-rust

proc macro `shopify_function` is not expanded by rust analyzer

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
47
Forks
9
Avg merge
1h 53m
Merged PRs (30d)
2

Description

Hi all, I see this error from rust analyzer. Is it expected or anything I should set so that rust analyzer can handle it? Thanks!

Env

  • IDE: vscode 1.76.0
  • rustc: 1.67.1 (d5a82bbd2 2023-02-07)
  • rust-analyzer: v0.3.1418
  • OS: Debian GNU/Linux 10 (buster)
proc macro `shopify_function` not expanded: Cannot create expander for /path/to/libshopify_function_macro-21539b429e6a7781.so: unsupported ABI `rustc 1.67.1 (d5a82bbd2 2023-02-07)`rust-analyzer[unresolved-proc-macro](https://rust-analyzer.github.io/manual.html#unresolved-proc-macro)

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the unresolved-proc-macro error with the reported VS Code, rustc, rust-analyzer, and Debian versions, then read the rust-analyzer unresolved proc macro documentation. Determine whether shopify_function requires a supported toolchain or configuration, and document the expected setup or a confirmed compatibility issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.