SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

Add .cargo/config.toml to spacetime init Rust project with default target to wasm

Open mamcx opened this issue 10 months ago • 2 comments

Description of Changes

Closes #1730.

Now when spacetimedb-cli init --lang rust it will create the config that pin target = "wasm32-unknown-unknown".

Also, I added the config to all the modules for completion.

API and ABI breaking changes

1

It actually fix the generated project.

Expected complexity level and risk

1

Testing

  • [x] Confirm the issue calling manually cargo build before and after this patch.

mamcx avatar Feb 28 '25 20:02 mamcx

(Except that this is failing Internal tests)

bfops avatar Mar 06 '25 19:03 bfops

Unassigned myself because Zeke has reviewed

jdetter avatar Mar 11 '25 17:03 jdetter