Skip to content

Commit

Permalink
fix: remove dependency on std for regalloc_spill unit test (FuelLab…
Browse files Browse the repository at this point in the history
…s#4775)

## Description
closes FuelLabs#4774.

This PR removes std library dependency for regalloc unit test so that we
can publish a new version without blocking our CI. In general we should
either not depend on std or we should only depend it by explicitly
depending on it by path. Otherwise we cannot bump version in our repo.
  • Loading branch information
kayagokalp authored Jul 7, 2023
1 parent 1e66b16 commit 5176269
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
[[package]]
name = 'core'
source = 'path+from-root-CA82D6910AC0C4B8'

[[package]]
name = 'regalloc_spill'
source = 'member'
dependencies = ['std']

[[package]]
name = 'std'
source = 'git+https://github.com/fuellabs/sway?tag=v0.42.0#c4e4ef7e4ae52a21ae1aa709d1f43ac680987bd1'
dependencies = ['core']
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ authors = ["fuel"]
entry = "main.sw"
license = "Apache-2.0"
name = "regalloc_spill"
implicit-std = false

[dependencies]

0 comments on commit 5176269

Please sign in to comment.