Skip to content

Commit

Permalink
expr: optimize feature flag macros WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
aalexandrov committed Feb 13, 2024
1 parent 9524622 commit db0af85
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/repr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pub mod explain;
pub mod fixed_length;
pub mod global_id;
pub mod namespaces;
pub mod optimize;
pub mod role_id;
pub mod stats;
pub mod strconv;
Expand Down
16 changes: 16 additions & 0 deletions src/repr/src/optimize.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright Materialize, Inc. and contributors. All rights reserved.
//
// Use of this software is governed by the Business Source License
// included in the LICENSE file.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0.

//! Facilities for defining optimizer feature flags.
use std::collections::BTreeMap;

struct OptimizerFlags {
vars: BTreeMap<&'static str, String>,
}

0 comments on commit db0af85

Please sign in to comment.