Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the custom hint example #1258

Merged
merged 11 commits into from
Jun 23, 2023
Prev Previous commit
Next Next commit
move custom_hint example to examples folder, move this fix to upcomin…
…g changes, define example inside vm package
d-roak committed Jun 19, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit bfb6aa7cee50b9829cb47c5cc51f7d55ce899e5b
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@

#### Upcoming Changes

* fix: updated the `custom_hint_example` and added it to the workspace [#1258](https://github.com/lambdaclass/cairo-rs/pull/1258)

#### [0.6.0] - 2023-6-18

* fix: `dibit` hint no longer fails when called with an `m` of zero [#1247](https://github.com/lambdaclass/cairo-rs/pull/1247)
@@ -32,8 +34,6 @@

* replace the use of `num-prime::is_prime` by a custom implementation, therefore restoring `no_std` compatibility

* fix: updated the `custom_hint_example` and added it to the workspace [#1258](https://github.com/lambdaclass/cairo-rs/pull/1258)

#### [0.5.2] - 2023-6-12

* BREAKING: Compute `ExecutionResources.n_steps` without requiring trace [#1222](https://github.com/lambdaclass/cairo-rs/pull/1222)
7 changes: 0 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ members = [
"vm",
"hint_accountant",
"./deps/parse-hyperlinks",
"./custom_hint_example"
]
exclude = ["ensure-no_std"]

9 changes: 0 additions & 9 deletions custom_hint_example/Cargo.toml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions vm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -97,3 +97,7 @@ harness = false
path = "../bench/criterion_benchmark.rs"
name = "criterion_benchmark"
harness = false

[[example]]
name = "custom_hint"
path = "../examples/custom_hint/src/main.rs"