Skip to content

Commit

Permalink
Revert "feat: constant folding implemented for core and float extensi…
Browse files Browse the repository at this point in the history
…on (#758)"

This reverts commit 664fe89.
  • Loading branch information
ss2165 committed Jan 3, 2024
1 parent f90f064 commit f7a4cf7
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 592 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
rust: ['1.75', stable, beta, nightly]
rust: ['1.70', stable, beta, nightly]
# workaround to ignore non-stable tests when running the merge queue checks
# see: https://github.community/t/how-to-conditionally-include-exclude-items-in-matrix-eg-based-on-branch/16853/6
isMerge:
- ${{ github.event_name == 'merge_group' }}
exclude:
- rust: '1.75'
- rust: '1.70'
isMerge: true
- rust: beta
isMerge: true
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description = "Hierarchical Unified Graph Representation"
#categories = [] # TODO

edition = "2021"
rust-version = "1.75"
rust-version = "1.70"

[lib]
# Using different names for the lib and for the package is supported, but may be confusing.
Expand Down Expand Up @@ -46,7 +46,7 @@ lazy_static = "1.4.0"
petgraph = { version = "0.6.3", default-features = false }
context-iterators = "0.2.0"
serde_json = "1.0.97"
delegate = "0.12.0"
delegate = "0.11.0"
rustversion = "1.0.14"
paste = "1.0"
strum = "0.25.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ See [DEVELOPMENT.md](DEVELOPMENT.md) for instructions on setting up the developm
This project is licensed under Apache License, Version 2.0 ([LICENSE][] or http://www.apache.org/licenses/LICENSE-2.0).

[build_status]: https://github.com/CQCL/hugr/workflows/Continuous%20integration/badge.svg?branch=main
[msrv]: https://img.shields.io/badge/rust-1.75.0%2B-blue.svg
[msrv]: https://img.shields.io/badge/rust-1.70.0%2B-blue.svg
[codecov]: https://img.shields.io/codecov/c/gh/CQCL/hugr?logo=codecov
[LICENSE]: LICENCE
1 change: 0 additions & 1 deletion src/algorithm.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//! Algorithms using the Hugr.
pub mod const_fold;
mod half_node;
pub mod nest_cfgs;
302 changes: 0 additions & 302 deletions src/algorithm/const_fold.rs

This file was deleted.

2 changes: 0 additions & 2 deletions src/extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ pub use op_def::{
};
mod type_def;
pub use type_def::{TypeDef, TypeDefBound};
mod const_fold;
pub mod prelude;
pub mod simple_op;
pub mod validate;
pub use const_fold::{ConstFold, ConstFoldResult};
pub use prelude::{PRELUDE, PRELUDE_REGISTRY};

/// Extension Registries store extensions to be looked up e.g. during validation.
Expand Down
Loading

0 comments on commit f7a4cf7

Please sign in to comment.