Skip to content

Commit

Permalink
Don't mangle names of version statics
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Nov 15, 2022
1 parent 5a70a58 commit 2daa042
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/fj/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ use std::{fmt, slice};
/// constant between releases, even though changes are made throughout. A match
/// of this version does not conclusively determine that the app and a model are
/// compatible.
#[no_mangle]
pub static VERSION_PKG: Version =
Version::from_static_str(env!("FJ_VERSION_PKG"));

/// The full Fornjot version
///
/// Can be used to check for compatibility between a model and the Fornjot app
/// that runs it.
#[no_mangle]
pub static VERSION_FULL: Version =
Version::from_static_str(env!("FJ_VERSION_FULL"));

Expand Down

0 comments on commit 2daa042

Please sign in to comment.