From d752417c9d96473d331561c9c33c934d13fd5245 Mon Sep 17 00:00:00 2001 From: cranko Date: Sun, 6 Sep 2020 21:47:03 -0400 Subject: [PATCH 1/3] Release request commit created with Cranko. +++ cranko-rc-info-v1 [[projects]] qnames = ["tectonic_cfg_support", "cargo"] bump_spec = "force 0.0.3" +++ --- cfg_support/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 cfg_support/CHANGELOG.md diff --git a/cfg_support/CHANGELOG.md b/cfg_support/CHANGELOG.md new file mode 100644 index 000000000..cda019d04 --- /dev/null +++ b/cfg_support/CHANGELOG.md @@ -0,0 +1,4 @@ +# rc: force 0.0.3 + +- No code changes. Creating a new release to test the new Cranko + release workflow. From 6f78f1ea1867cec105d3d475b257480e26070bfd Mon Sep 17 00:00:00 2001 From: cranko Date: Mon, 7 Sep 2020 02:24:47 +0000 Subject: [PATCH 2/3] Release commit created with Cranko. +++ cranko-release-info-v1 [[projects]] qnames = ["tectonic_xdv", "cargo"] version = "0.1.9" age = 0 [[projects]] qnames = ["tectonic_cfg_support", "cargo"] version = "0.0.3" age = 0 [[projects]] qnames = ["tectonic", "cargo"] version = "0.0.0" age = 0 +++ --- Cargo.lock | 6 +++--- Cargo.toml | 6 +++--- cfg_support/CHANGELOG.md | 4 ++-- cfg_support/Cargo.toml | 2 +- xdv/CHANGELOG.md | 4 ++-- xdv/Cargo.toml | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 26d13221a..8bc1b7391 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1622,7 +1622,7 @@ dependencies = [ [[package]] name = "tectonic" -version = "0.0.0-dev.0" +version = "0.0.0" dependencies = [ "app_dirs2", "byte-unit", @@ -1655,14 +1655,14 @@ dependencies = [ [[package]] name = "tectonic_cfg_support" -version = "0.0.0-dev.0" +version = "0.0.3" dependencies = [ "lazy_static", ] [[package]] name = "tectonic_xdv" -version = "0.0.0-dev.0" +version = "0.1.9" dependencies = [ "byteorder", "clap", diff --git a/Cargo.toml b/Cargo.toml index c70f32b16..2dbab1c4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "tectonic" -version = "0.0.0-dev.0" # assigned with cranko (see README) +version = "0.0.0" authors = ["Peter Williams "] build = "build.rs" description = """ @@ -38,7 +38,7 @@ cc = "^1.0.58" pkg-config = "^0.3" regex = "^1.3" sha2 = "^0.9" -tectonic_cfg_support = { path = "cfg_support", version = "0.0.0-dev.0" } +tectonic_cfg_support = { path = "cfg_support", version ="^0.0.3"} vcpkg = "0.2.10" [dependencies] @@ -57,7 +57,7 @@ md-5 = "^0.9" reqwest = "^0.9" sha2 = "^0.9" serde = { version = "^1.0", features = ["derive"], optional = true } -tectonic_xdv = { path = "xdv", version = "0.0.0-dev.0" } +tectonic_xdv = { path = "xdv", version ="^0.1.9"} termcolor = "^1.1" toml = { version = "^0.5", optional = true } zip = { version = "^0.5", default-features = false, features = ["deflate"] } diff --git a/cfg_support/CHANGELOG.md b/cfg_support/CHANGELOG.md index 39c5b4cca..c0ec9b87b 100644 --- a/cfg_support/CHANGELOG.md +++ b/cfg_support/CHANGELOG.md @@ -1,3 +1,3 @@ -# rc: force 0.0.3 +# tectonic_cfg_support 0.0.3 (2020-09-07) -- No code changes; testing new Cranko-powered release workflow. \ No newline at end of file +- No code changes; testing new Cranko-powered release workflow. diff --git a/cfg_support/Cargo.toml b/cfg_support/Cargo.toml index 2c71e3519..90ff345b2 100644 --- a/cfg_support/Cargo.toml +++ b/cfg_support/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "tectonic_cfg_support" -version = "0.0.0-dev.0" # assigned with cranko (see README) +version = "0.0.3" authors = [ "Matt Rice ", "Peter Williams " diff --git a/xdv/CHANGELOG.md b/xdv/CHANGELOG.md index aec7b5625..98dacc4ca 100644 --- a/xdv/CHANGELOG.md +++ b/xdv/CHANGELOG.md @@ -1,3 +1,3 @@ -# rc: force 0.1.9 +# tectonic_xdv 0.1.9 (2020-09-07) -- No code changes; testing new Cranko-powered release workflow. \ No newline at end of file +- No code changes; testing new Cranko-powered release workflow. diff --git a/xdv/Cargo.toml b/xdv/Cargo.toml index 6363ed5d9..2106da616 100644 --- a/xdv/Cargo.toml +++ b/xdv/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "tectonic_xdv" -version = "0.0.0-dev.0" # assigned with cranko (see README) +version = "0.1.9" authors = ["Peter Williams "] description = """ A decoder for the XDV and SPX file formats used by XeTeX and Tectonic. From fcc92159cb712eb6558b1b44cdb38e75f7eb2a6c Mon Sep 17 00:00:00 2001 From: Jose Eduardo Rojas Jimenez Date: Sun, 4 Jan 2026 01:10:44 -0600 Subject: [PATCH 3/3] fix(build): add C++17 and MSVC warning suppressions --- crates/engine_xetex/build.rs | 8 +++++++- crates/xetex_layout/build.rs | 7 +++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/crates/engine_xetex/build.rs b/crates/engine_xetex/build.rs index 992b3511c..1967891c6 100644 --- a/crates/engine_xetex/build.rs +++ b/crates/engine_xetex/build.rs @@ -100,7 +100,13 @@ fn main() { if target.contains("-msvc") { c_cfg.flag("/EHsc"); - cxx_cfg.flag("/EHsc"); + cxx_cfg.flag("/std:c++17"); + // Disable noisy warnings that are enabled by -Wall + cxx_cfg.flag("/wd4514"); // unreferenced inline function has been removed + cxx_cfg.flag("/wd5045"); // Spectre mitigation insertion (informational) + cxx_cfg.flag("/wd4820"); // padding added after data member + cxx_cfg.flag("/wd4244"); // conversion from 'type1' to 'type2', possible loss of data + cxx_cfg.flag("/wd4365"); // conversion from 'type1' to 'type2', signed/unsigned mismatch } // OK, back to generic build rules. diff --git a/crates/xetex_layout/build.rs b/crates/xetex_layout/build.rs index bdd0d03fc..b0d3847c7 100644 --- a/crates/xetex_layout/build.rs +++ b/crates/xetex_layout/build.rs @@ -180,6 +180,13 @@ fn main() { if target.contains("-msvc") { cppcfg.flag("/EHsc"); + cppcfg.flag("/std:c++17"); + // Disable noisy warnings that are enabled by -Wall + cppcfg.flag("/wd4514"); // unreferenced inline function has been removed + cppcfg.flag("/wd5045"); // Spectre mitigation insertion (informational) + cppcfg.flag("/wd4820"); // padding added after data member + cppcfg.flag("/wd4244"); // conversion from T1 to T2, possible loss of data + cppcfg.flag("/wd4365"); // signed/unsigned mismatch } // OK, back to generic build rules.