aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-12-22 14:24:54 -0800
committerJoe Wilm <joe@jwilm.com>2017-12-22 14:25:14 -0800
commit672ea9b05037c8efc5984835990c74ac1c46c298 (patch)
treeb417acf90e8a0576f4ff81fbbf782a0f26b31c3b /src
parent1b1d1d6c1f1ac11efc02431281145d714d9b0adc (diff)
downloadalacritty-672ea9b05037c8efc5984835990c74ac1c46c298.tar.gz
alacritty-672ea9b05037c8efc5984835990c74ac1c46c298.zip
Remove built crate
This became a support burden for me due to various compile and run time issues.
Diffstat (limited to 'src')
-rw-r--r--src/cli.rs10
-rw-r--r--src/lib.rs5
2 files changed, 0 insertions, 15 deletions
diff --git a/src/cli.rs b/src/cli.rs
index f6f76831..30ad0da4 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
extern crate log;
-use built_info;
use clap::{Arg, App};
use index::{Line, Column};
use config::{Dimensions, Shell};
@@ -21,14 +20,6 @@ use std::borrow::Cow;
const DEFAULT_TITLE: &str = "Alacritty";
-fn crate_long_version() -> String {
- format!("{} (git commit {}) [{} build using {}])",
- built_info::PKG_VERSION,
- built_info::GIT_VERSION.unwrap_or(""),
- built_info::PROFILE,
- built_info::RUSTC_VERSION)
-}
-
/// Options specified on the command line
pub struct Options {
pub live_config_reload: Option<bool>,
@@ -65,7 +56,6 @@ impl Options {
let matches = App::new(crate_name!())
.version(crate_version!())
- .long_version(crate_long_version().as_str())
.author(crate_authors!("\n"))
.about(crate_description!())
.arg(Arg::with_name("ref-test")
diff --git a/src/lib.rs b/src/lib.rs
index dc05fbdd..4f27ef10 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -113,8 +113,3 @@ pub mod gl {
#![allow(non_upper_case_globals)]
include!(concat!(env!("OUT_DIR"), "/gl_bindings.rs"));
}
-
-#[allow(dead_code)]
-mod built_info {
- include!(concat!(env!("OUT_DIR"), "/built.rs"));
-}